17 changed files with 944 additions and 222 deletions
-
2app/src/main/assets/apps/__UNI__3B4D40B/www/app-service.js
-
2daemonlibrary/src/main/java/com/shihoo/daemon/watchdog/MainWorkService.java
-
17uniapp_project_code/src/components/index/keyboard/input_box_QR.vue
-
6uniapp_project_code/src/components/index/list_item.vue
-
3uniapp_project_code/src/components/index/page_standby.vue
-
4uniapp_project_code/src/components/login/form.vue
-
4uniapp_project_code/src/components/login/pads_picker.vue
-
109uniapp_project_code/src/components/login/setting_mask.vue
-
87uniapp_project_code/src/pages/index/index.vue
-
19uniapp_project_code/src/pages/index/standby.vue
-
45uniapp_project_code/src/pages/login/index.vue
-
2uniapp_project_code/src/pages/login/success.vue
-
144uniapp_project_code/src/pages/pay/index.vue
-
517uniapp_project_code/src/pages/pay/readme.md
-
4uniapp_project_code/src/utils/api.js
-
1uniapp_project_code/src/utils/print.js
-
34uniapp_project_code/src/utils/util.js
2
app/src/main/assets/apps/__UNI__3B4D40B/www/app-service.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,517 @@ |
|||||
|
``` |
||||
|
pay onload: |
||||
|
{ |
||||
|
"query": "{\"shopList\":[{\"id\":32,\"name\":\"乔丹篮球\",\"price\":0.01,\"nums\":1,\"unit\":\"个\"}],\"shopListTotalPrice\":0.01,\"shopListTotalCount\":1}" |
||||
|
} |
||||
|
|
||||
|
makeOrder suc: |
||||
|
{ |
||||
|
"order": { |
||||
|
"id": 851, |
||||
|
"created_at": "2024-02-21 10:56:40", |
||||
|
"updated_at": "2024-02-21 10:56:40", |
||||
|
"retail_order_goods": [ |
||||
|
{ |
||||
|
"id": 32, |
||||
|
"name": "123456", |
||||
|
"namereal": "", |
||||
|
"price": 0, |
||||
|
"nums": 1, |
||||
|
"unit": "个", |
||||
|
"spec": "中型", |
||||
|
"erp_retail_goods": { |
||||
|
"id": 32, |
||||
|
"created_at": "2022-06-17 14:17:14", |
||||
|
"updated_at": "2023-11-08 16:56:25", |
||||
|
"brand_id": 63, |
||||
|
"stadium_id": 151, |
||||
|
"erp_goods_id": 32, |
||||
|
"goods_name": "123456", |
||||
|
"goods_type_key": "be46949a-eafa-11ec-869b-5254005df464", |
||||
|
"goods_img": "https://imgcdn.ouxuanzhineng.cn/upload/63/151/retailGoods/db9b6fea692e54e3c1291599af9b621a.jpg", |
||||
|
"goods_desc": "", |
||||
|
"is_sale": true, |
||||
|
"is_show_on_user": true, |
||||
|
"is_show_on_assistant": true, |
||||
|
"assistant_price": 0, |
||||
|
"user_price": 0, |
||||
|
"weights": 0, |
||||
|
"extension": { |
||||
|
"retail_codes": [ |
||||
|
1 |
||||
|
], |
||||
|
"user_level_price_list": [ |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 10, |
||||
|
"user_level_name": "游客" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 12, |
||||
|
"user_level_name": "白银" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 15, |
||||
|
"user_level_name": "钻石" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 16, |
||||
|
"user_level_name": "至尊黑会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 35, |
||||
|
"user_level_name": "超级会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 42, |
||||
|
"user_level_name": "分销商白银身份等级" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 39, |
||||
|
"user_level_name": "无敌会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 40, |
||||
|
"user_level_name": "高高高会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 44, |
||||
|
"user_level_name": "分销商铂金用户身份" |
||||
|
} |
||||
|
] |
||||
|
}, |
||||
|
"erp_goods": { |
||||
|
"id": 32, |
||||
|
"created_at": "2021-04-25 14:18:42", |
||||
|
"updated_at": "2021-09-22 10:40:07", |
||||
|
"erp_goods_name": "乔丹篮球", |
||||
|
"erp_goods_cid": 18, |
||||
|
"erp_goods_sku": "1000000005", |
||||
|
"erp_goods_unit": "个", |
||||
|
"erp_goods_type": "成人", |
||||
|
"erp_goods_specs": "中型", |
||||
|
"erp_goods_brandid": 63, |
||||
|
"erp_goods_price": 0.01, |
||||
|
"stock_num": 0 |
||||
|
}, |
||||
|
"cate_name": "", |
||||
|
"underlined_price": 0, |
||||
|
"underlined_price_show": false |
||||
|
} |
||||
|
} |
||||
|
], |
||||
|
"sys_optuname": "ou", |
||||
|
"other_pay_type": "", |
||||
|
"brand_id": 63, |
||||
|
"stadium_id": 167, |
||||
|
"user_id": 0, |
||||
|
"amount": 0.01, |
||||
|
"pay_amount": 0.01, |
||||
|
"refund_amount": 0, |
||||
|
"integral": 0, |
||||
|
"deduction_integral": 0, |
||||
|
"refund_integral": 0, |
||||
|
"deduction_amount": 0, |
||||
|
"refund_deduction_amount": 0, |
||||
|
"coupons_amount": 0, |
||||
|
"discount_amount": 0, |
||||
|
"coupon_ids": null, |
||||
|
"pay_status": 0, |
||||
|
"pay_time": "", |
||||
|
"success_time": "", |
||||
|
"refund_no": "", |
||||
|
"refund_reason": "", |
||||
|
"refund_time": "", |
||||
|
"pay_type": 7, |
||||
|
"card_no": "", |
||||
|
"trade_no": "", |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"desc": "", |
||||
|
"source": "欧轩测试体育场馆", |
||||
|
"pay_info": null, |
||||
|
"extension": { |
||||
|
"consume_record_admin_type_params": { |
||||
|
"admin_id": 722, |
||||
|
"admin_type": "back" |
||||
|
}, |
||||
|
"offline_pay_params": { |
||||
|
"amount": 0.01, |
||||
|
"brand_id": 63, |
||||
|
"card_no": "", |
||||
|
"mark": "", |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"pay_type": "" |
||||
|
}, |
||||
|
"pay_type_text": "" |
||||
|
}, |
||||
|
"order_category": "", |
||||
|
"ori_goods": null, |
||||
|
"mobile": "", |
||||
|
"nickname": "", |
||||
|
"source_type": 0, |
||||
|
"retail_source": "商家助手(ou)", |
||||
|
"retail_code_id": 29, |
||||
|
"operator": "", |
||||
|
"brand_name": "", |
||||
|
"stadium_name": "", |
||||
|
"stadium_logo": "", |
||||
|
"pay_status_text": "", |
||||
|
"refund_records": null |
||||
|
}, |
||||
|
"order_no": "LS20240221105640796608" |
||||
|
} |
||||
|
|
||||
|
orderInfo-result |
||||
|
{ |
||||
|
"order": { |
||||
|
"id": 851, |
||||
|
"created_at": "2024-02-21 10:56:40", |
||||
|
"updated_at": "2024-02-21 10:56:40", |
||||
|
"retail_order_goods": [ |
||||
|
{ |
||||
|
"id": 32, |
||||
|
"name": "123456", |
||||
|
"namereal": "", |
||||
|
"price": 0, |
||||
|
"nums": 1, |
||||
|
"unit": "个", |
||||
|
"spec": "中型", |
||||
|
"erp_retail_goods": { |
||||
|
"id": 32, |
||||
|
"created_at": "2022-06-17 14:17:14", |
||||
|
"updated_at": "2023-11-08 16:56:25", |
||||
|
"brand_id": 63, |
||||
|
"stadium_id": 151, |
||||
|
"erp_goods_id": 32, |
||||
|
"goods_name": "123456", |
||||
|
"goods_type_key": "be46949a-eafa-11ec-869b-5254005df464", |
||||
|
"goods_img": "https://imgcdn.ouxuanzhineng.cn/upload/63/151/retailGoods/db9b6fea692e54e3c1291599af9b621a.jpg", |
||||
|
"goods_desc": "", |
||||
|
"is_sale": true, |
||||
|
"is_show_on_user": true, |
||||
|
"is_show_on_assistant": true, |
||||
|
"assistant_price": 0, |
||||
|
"user_price": 0, |
||||
|
"weights": 0, |
||||
|
"extension": { |
||||
|
"retail_codes": [ |
||||
|
1 |
||||
|
], |
||||
|
"user_level_price_list": [ |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 10, |
||||
|
"user_level_name": "游客" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 12, |
||||
|
"user_level_name": "白银" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 15, |
||||
|
"user_level_name": "钻石" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 16, |
||||
|
"user_level_name": "至尊黑会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 35, |
||||
|
"user_level_name": "超级会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 42, |
||||
|
"user_level_name": "分销商白银身份等级" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 39, |
||||
|
"user_level_name": "无敌会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 40, |
||||
|
"user_level_name": "高高高会员" |
||||
|
}, |
||||
|
{ |
||||
|
"enable": false, |
||||
|
"price": 0, |
||||
|
"underline_price": 0, |
||||
|
"user_level_config_item_id": 44, |
||||
|
"user_level_name": "分销商铂金用户身份" |
||||
|
} |
||||
|
] |
||||
|
}, |
||||
|
"erp_goods": { |
||||
|
"id": 32, |
||||
|
"created_at": "2021-04-25 14:18:42", |
||||
|
"updated_at": "2021-09-22 10:40:07", |
||||
|
"erp_goods_name": "乔丹篮球", |
||||
|
"erp_goods_cid": 18, |
||||
|
"erp_goods_sku": "1000000005", |
||||
|
"erp_goods_unit": "个", |
||||
|
"erp_goods_type": "成人", |
||||
|
"erp_goods_specs": "中型", |
||||
|
"erp_goods_brandid": 63, |
||||
|
"erp_goods_price": 0.01, |
||||
|
"stock_num": 0 |
||||
|
}, |
||||
|
"cate_name": "", |
||||
|
"underlined_price": 0, |
||||
|
"underlined_price_show": false |
||||
|
} |
||||
|
} |
||||
|
], |
||||
|
"sys_optuname": "ou", |
||||
|
"other_pay_type": "", |
||||
|
"brand_id": 63, |
||||
|
"stadium_id": 167, |
||||
|
"user_id": 0, |
||||
|
"amount": 0.01, |
||||
|
"pay_amount": 0.01, |
||||
|
"refund_amount": 0, |
||||
|
"integral": 0, |
||||
|
"deduction_integral": 0, |
||||
|
"refund_integral": 0, |
||||
|
"deduction_amount": 0, |
||||
|
"refund_deduction_amount": 0, |
||||
|
"coupons_amount": 0, |
||||
|
"discount_amount": 0, |
||||
|
"coupon_ids": null, |
||||
|
"pay_status": 0, |
||||
|
"pay_time": "", |
||||
|
"success_time": "", |
||||
|
"refund_no": "", |
||||
|
"refund_reason": "", |
||||
|
"refund_time": "", |
||||
|
"pay_type": 7, |
||||
|
"card_no": "", |
||||
|
"trade_no": "", |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"desc": "", |
||||
|
"source": "欧轩测试体育场馆", |
||||
|
"pay_info": null, |
||||
|
"extension": { |
||||
|
"consume_record_admin_type_params": { |
||||
|
"admin_id": 722, |
||||
|
"admin_type": "back" |
||||
|
}, |
||||
|
"offline_pay_params": { |
||||
|
"amount": 0.01, |
||||
|
"brand_id": 63, |
||||
|
"card_no": "", |
||||
|
"mark": "", |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"pay_type": "" |
||||
|
}, |
||||
|
"pay_type_text": "" |
||||
|
}, |
||||
|
"order_category": "", |
||||
|
"ori_goods": null, |
||||
|
"mobile": "", |
||||
|
"nickname": "", |
||||
|
"source_type": 0, |
||||
|
"retail_source": "商家助手(ou)", |
||||
|
"retail_code_id": 29, |
||||
|
"operator": "", |
||||
|
"brand_name": "", |
||||
|
"stadium_name": "", |
||||
|
"stadium_logo": "", |
||||
|
"pay_status_text": "", |
||||
|
"refund_records": null |
||||
|
}, |
||||
|
"order_no": "LS20240221105640796608" |
||||
|
} |
||||
|
|
||||
|
payOrder suc: |
||||
|
{ |
||||
|
"data": { |
||||
|
"Type": 5, |
||||
|
"Raw": "{\"success\":true,\"result\":\"{\\\"channelOrderNo\\\":\\\"350105100000000000000382731226\\\",\\\"finishedDate\\\":\\\"20240221105643\\\",\\\"orderAmt\\\":\\\"1\\\",\\\"orderStatus\\\":\\\"SUCCESS\\\",\\\"payOrderNo\\\":\\\"322024022122001464831442986322\\\",\\\"payType\\\":\\\"ALI_BARCODEPAY\\\",\\\"respCode\\\":\\\"000000\\\",\\\"respMsg\\\":\\\"交易成功\\\",\\\"tradeNo\\\":\\\"19010520240221105641100306264795\\\",\\\"transNo\\\":\\\"LS20240221105640796608\\\"}\",\"errorCode\":null,\"errorMsg\":null,\"sign\":\"6060dbad95d51e5c9f89906fbea25284766b7ea84d63decbf532cf060b7b616c84611088aca66b2a21a929dc82dc8ec95148874e1f7bd4c0ed978044720722a0e5a485ac9e5cdccb6beaf4747b251f0b03d93f3e9d96bbc00085f7aaa1c90785f17b127993014474e5fbbd9f59cc28c1c9a5f9c11c226a8a78be3e92c00f6d9aa398636aaf2581a6083cc6494262db2d3fa8fc97c3c6f3ed6b1c8afa50eef177575b78cb4db9f60cd18a700ddd3a83ba72fbf1414768c430f49f381642bc803fcd629dcde6f9f3b268bbb927d0859871504107721f80ccdc4436d3a3e800477283a7906d3605acc8ff931a196071b99fb3914f0668cfdd90f9c09e8062e19508\"}", |
||||
|
"Str": "", |
||||
|
"Num": 0, |
||||
|
"Index": 0, |
||||
|
"Indexes": null |
||||
|
}, |
||||
|
"err2": null, |
||||
|
"res": { |
||||
|
"channelOrderNo": "350105100000000000000382731226", |
||||
|
"finishedDate": "20240221105643", |
||||
|
"orderAmt": "1", |
||||
|
"orderStatus": "SUCCESS", |
||||
|
"payOrderNo": "322024022122001464831442986322", |
||||
|
"payType": "ALI_BARCODEPAY", |
||||
|
"respCode": "000000", |
||||
|
"respMsg": "交易成功", |
||||
|
"tradeNo": "19010520240221105641100306264795", |
||||
|
"transNo": "LS20240221105640796608" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
payInfo-result: |
||||
|
{ |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"pay_code": "282659672061313993", |
||||
|
"pay_type": "ALI_BARCODEPAY", |
||||
|
"orderAmt": "1", |
||||
|
"transNo": "LS20240221105640796608", |
||||
|
"res": { |
||||
|
"channelOrderNo": "350105100000000000000382731226", |
||||
|
"finishedDate": "20240221105643", |
||||
|
"orderAmt": "1", |
||||
|
"orderStatus": "SUCCESS", |
||||
|
"payOrderNo": "322024022122001464831442986322", |
||||
|
"payType": "ALI_BARCODEPAY", |
||||
|
"respCode": "000000", |
||||
|
"respMsg": "交易成功", |
||||
|
"tradeNo": "19010520240221105641100306264795", |
||||
|
"transNo": "LS20240221105640796608" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
checkOrder suc: |
||||
|
{ |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"pay_code": "282659672061313993", |
||||
|
"pay_type": "ALI_BARCODEPAY", |
||||
|
"orderAmt": "1", |
||||
|
"transNo": "LS20240221105640796608", |
||||
|
"res": { |
||||
|
"channelOrderNo": "350105100000000000000382731226", |
||||
|
"finishedDate": "20240221105643", |
||||
|
"orderAmt": "1", |
||||
|
"orderStatus": "SUCCESS", |
||||
|
"payOrderNo": "322024022122001464831442986322", |
||||
|
"payType": "ALI_BARCODEPAY", |
||||
|
"respCode": "000000", |
||||
|
"respMsg": "交易成功", |
||||
|
"tradeNo": "19010520240221105641100306264795", |
||||
|
"transNo": "LS20240221105640796608" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
最终checkInfo: |
||||
|
{ |
||||
|
"payRes": { |
||||
|
"order_no": "LS20240221105640796608", |
||||
|
"pay_code": "282659672061313993", |
||||
|
"pay_type": "ALI_BARCODEPAY", |
||||
|
"orderAmt": "1", |
||||
|
"transNo": "LS20240221105640796608", |
||||
|
"res": { |
||||
|
"channelOrderNo": "350105100000000000000382731226", |
||||
|
"finishedDate": "20240221105643", |
||||
|
"orderAmt": "1", |
||||
|
"orderStatus": "SUCCESS", |
||||
|
"payOrderNo": "322024022122001464831442986322", |
||||
|
"payType": "ALI_BARCODEPAY", |
||||
|
"respCode": "000000", |
||||
|
"respMsg": "交易成功", |
||||
|
"tradeNo": "19010520240221105641100306264795", |
||||
|
"transNo": "LS20240221105640796608" |
||||
|
} |
||||
|
}, |
||||
|
"checkRes": { |
||||
|
"err": null, |
||||
|
"pay_order": { |
||||
|
"id": 1143536, |
||||
|
"appid": "", |
||||
|
"mchId": "ouxuanmchid-2d4af93d5fb4", |
||||
|
"user": "", |
||||
|
"out_trade_no": "LS20240221105640796608", |
||||
|
"transaction_id": "", |
||||
|
"group": "63", |
||||
|
"pay_way": "HuiShouQian", |
||||
|
"call_way": "WeChatMiniApp", |
||||
|
"total_fee": 0.01, |
||||
|
"refund_total_fee": 0, |
||||
|
"Title": "", |
||||
|
"subject": "零售订单", |
||||
|
"status": 1, |
||||
|
"refund_status": 0, |
||||
|
"flag": 0, |
||||
|
"tags": null, |
||||
|
"extension": { |
||||
|
"brand_id": 63, |
||||
|
"brand_stadium_logo": "https://imgcdn.ouxuanzhineng.cn/upload/63/logo/6b36b6b89557a7b7d90904f1a943a311.png", |
||||
|
"brand_stadium_name": "Test门店", |
||||
|
"stadium_id": 167, |
||||
|
"total_fee": 0.01, |
||||
|
"transaction_id": "" |
||||
|
}, |
||||
|
"error_log": "", |
||||
|
"is_profit_sharing": 0, |
||||
|
"usefulness": "erp_goods_retail", |
||||
|
"medium": "money", |
||||
|
"invoice_status": "None", |
||||
|
"is_enable_expiration": 1, |
||||
|
"expiration_time": "2024-02-21T11:26:40+08:00", |
||||
|
"payment_time": "", |
||||
|
"remaining_refund": null |
||||
|
}, |
||||
|
"res": { |
||||
|
"channelOrderNo": "350105100000000000000382731226", |
||||
|
"finishedDate": "20240221105644", |
||||
|
"goodsInfo": "LS20240221105640796608", |
||||
|
"memo": "{\"timeExpire\":\"20240221105746\",\"latitude\":\"0\",\"spbillCreateIp\":\"127.0.0.1\",\"longitude\":\"0\"}", |
||||
|
"orderAmt": "1", |
||||
|
"orderStatus": "SUCCESS", |
||||
|
"payOrderNo": "322024022122001464831442986322", |
||||
|
"payType": "ALI_BARCODEPAY", |
||||
|
"requestDate": "20240221105641", |
||||
|
"respCode": "000000", |
||||
|
"respMsg": "交易成功", |
||||
|
"tradeNo": "19010520240221105641100306264795", |
||||
|
"transNo": "LS20240221105640796608" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
``` |
Write
Preview
Loading…
Cancel
Save
Reference in new issue