赵明涛
11 months ago
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
-
267uniapp_project_code/src/components/login/setting_mask.vue
-
89uniapp_project_code/src/pages/index/index.vue
-
23uniapp_project_code/src/pages/index/standby.vue
-
45uniapp_project_code/src/pages/login/index.vue
-
2uniapp_project_code/src/pages/login/success.vue
-
146uniapp_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
@ -1,111 +1,184 @@ |
|||||
<template> |
<template> |
||||
<view class="setting-mask"> |
|
||||
<view class="sm-content"> |
|
||||
<image class="sc-close" mode="aspectFit" src="/static/images/close.png" @click="handle_closeSetting"></image> |
|
||||
<view class="sc-title">平板信息配置</view> |
|
||||
<view class="sc-container"> |
|
||||
<view class="sc-line"> |
|
||||
<view class="sl-desc">当前设备名称:收银端</view> |
|
||||
<button class="sd-btn" @click="logout">退出登录</button> |
|
||||
</view> |
|
||||
<view class="sc-line"> |
|
||||
|
<view class="setting-mask"> |
||||
|
<view class="sm-content"> |
||||
|
<image class="sc-close" mode="aspectFit" src="/static/images/close.png" @click="handle_closeSetting"> |
||||
|
</image> |
||||
|
<view class="sc-title">平板配置</view> |
||||
|
<view class="sc-container"> |
||||
|
<view class="sc-line"> |
||||
|
<view class="sl-desc">设备账号控制</view> |
||||
|
<button class="sd-btn" @click="logout">退出登录</button> |
||||
|
</view> |
||||
|
<view class="sc-line"> |
||||
|
<view class="sl-desc">进程守护切换</view> |
||||
|
<button class="sd-btn" @click="selectDaemon">开/关</button> |
||||
|
</view> |
||||
|
<view class="sc-line"> |
||||
|
<view class="sl-desc">程序版本更新</view> |
||||
|
<button class="sd-btn" @click="updateApp">前往更新</button> |
||||
|
</view> |
||||
|
<!-- <view class="sc-line"> |
||||
<view class="sl-desc">屏幕适配设置</view> |
<view class="sl-desc">屏幕适配设置</view> |
||||
</view> |
|
||||
</view> |
|
||||
</view> |
|
||||
</view> |
|
||||
|
</view> --> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
</template> |
</template> |
||||
|
|
||||
<script setup> |
<script setup> |
||||
|
import util from '../../utils/util'; |
||||
|
// #ifdef APP-PLUS |
||||
|
const Daemon_Uni = uni.requireNativePlugin('Daemon_Uni'); |
||||
|
// #endif |
||||
|
|
||||
//触发自定义事件 |
//触发自定义事件 |
||||
const emits = defineEmits(['closeSetting']) |
const emits = defineEmits(['closeSetting']) |
||||
|
|
||||
const handle_closeSetting = ()=>{ |
|
||||
emits("closeSetting","false") |
|
||||
|
|
||||
|
const handle_closeSetting = () => { |
||||
|
emits("closeSetting", "false") |
||||
|
} |
||||
|
|
||||
|
const logout = () => { |
||||
|
console.log("logout") |
||||
|
|
||||
|
uni.showModal({ |
||||
|
title: '提示', |
||||
|
content: '确定退出登录?', |
||||
|
success: function(res) { |
||||
|
if (res.confirm) { |
||||
|
console.log('用户点击确定'); |
||||
|
handle_logout() |
||||
|
} else if (res.cancel) { |
||||
|
console.log('用户点击取消'); |
||||
|
} |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
} |
||||
|
const handle_logout = () => { |
||||
|
getApp().globalData.stadiumInfo = {} |
||||
|
getApp().globalData.accountInfo = {} |
||||
|
uni.removeStorageSync("stadiumInfo") |
||||
|
uni.removeStorageSync("accountInfo") |
||||
|
uni.removeStorageSync("userInfo") |
||||
|
|
||||
|
uni.reLaunch({ |
||||
|
url: '/pages/login/index' |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
const selectDaemon = () => { |
||||
|
let _arr = ["开启-进程守护", "关闭-进程守护"]; |
||||
|
uni.showActionSheet({ |
||||
|
itemList: _arr, |
||||
|
success: async function(res) { |
||||
|
let _sel = _arr[res.tapIndex] |
||||
|
let _val = "" |
||||
|
console.log('选中了第' + (res.tapIndex + 1) + '个按钮' + _sel); |
||||
|
|
||||
|
// #ifdef APP-PLUS |
||||
|
if (res.tapIndex == 0) { |
||||
|
Daemon_Uni.startWatchDog({ |
||||
|
"api_name": "", |
||||
|
}, (ret) => { |
||||
|
console.log(ret) |
||||
|
util.showNone("开启") |
||||
|
}) |
||||
|
} else { |
||||
|
Daemon_Uni.closeWatchDog({ |
||||
|
"api_name": "", |
||||
|
}, (ret) => { |
||||
|
console.log(ret) |
||||
|
util.showNone("关闭") |
||||
|
}) |
||||
|
} |
||||
|
// #endif |
||||
|
console.log("daemonRun", _sel, _val) |
||||
|
}, |
||||
|
fail: function(res) { |
||||
|
console.log(res.errMsg); |
||||
|
} |
||||
|
}) |
||||
} |
} |
||||
|
|
||||
const logout = ()=>{ |
|
||||
console.log("logout") |
|
||||
|
|
||||
uni.showModal({ |
|
||||
title: '提示', |
|
||||
content: '确定退出登录?', |
|
||||
success: function (res) { |
|
||||
if (res.confirm) { |
|
||||
console.log('用户点击确定'); |
|
||||
handle_logout() |
|
||||
} else if (res.cancel) { |
|
||||
console.log('用户点击取消'); |
|
||||
} |
|
||||
} |
|
||||
}); |
|
||||
|
|
||||
} |
|
||||
const handle_logout = ()=>{ |
|
||||
getApp().globalData.stadiumInfo = {} |
|
||||
getApp().globalData.accountInfo = {} |
|
||||
uni.removeStorageSync("stadiumInfo") |
|
||||
uni.removeStorageSync("accountInfo") |
|
||||
uni.removeStorageSync("userInfo") |
|
||||
|
|
||||
uni.reLaunch({ |
|
||||
url: '/pages/login/index' |
|
||||
}); |
|
||||
} |
|
||||
|
const updateApp = () => { |
||||
|
util.showNone("") |
||||
|
uni.showModal({ |
||||
|
title: '提示', |
||||
|
content: '跳转更新前,请先关闭进程守护', |
||||
|
success: function(res) { |
||||
|
if (res.confirm) { |
||||
|
console.log('用户点击确定'); |
||||
|
plus.runtime.openURL('https://www.pgyer.com/oxcheckoutpad', function( |
||||
|
res) {}); //console.log(res); |
||||
|
} else if (res.cancel) { |
||||
|
console.log('用户点击取消'); |
||||
|
} |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
} |
||||
</script> |
</script> |
||||
|
|
||||
<style lang="scss"> |
<style lang="scss"> |
||||
.setting-mask{ |
|
||||
position: fixed; |
|
||||
left: 0; |
|
||||
top: 0; |
|
||||
width: 100vw; |
|
||||
height: 100vh; |
|
||||
background: rgba(0, 0, 0, .5); |
|
||||
.sm-content{ |
|
||||
position: absolute; |
|
||||
top: 0; |
|
||||
right: 0; |
|
||||
padding-top: 69.4upx; |
|
||||
width: 559upx; |
|
||||
height: 100%; |
|
||||
background: #fff; |
|
||||
.sc-close{ |
|
||||
position: absolute; |
|
||||
right: 28.33upx; |
|
||||
top: 18.76upx; |
|
||||
width: 34.51upx; |
|
||||
height: 34.51upx; |
|
||||
} |
|
||||
.sc-title{ |
|
||||
text-align: center; |
|
||||
@include flcw(22.5upx, 31.25upx, #1B1B1B, 500); |
|
||||
} |
|
||||
.sc-container{ |
|
||||
margin-top: 52.22upx; |
|
||||
padding: 0 20.39upx; |
|
||||
.sc-line{ |
|
||||
@include ctf; |
|
||||
&+.sc-line{ |
|
||||
margin-top: 6.57upx; |
|
||||
} |
|
||||
.sl-desc{ |
|
||||
@include flcw(16.88upx, 23.61upx, #1B1B1B, 500); |
|
||||
@include tHide; |
|
||||
} |
|
||||
.sd-btn{ |
|
||||
@include clearBtn; |
|
||||
flex-shrink: 0; |
|
||||
margin-left: 26upx; |
|
||||
text-align: center; |
|
||||
width: 120upx; |
|
||||
background: $mColor; |
|
||||
border-radius: 6.56upx; |
|
||||
@include flcw(16.88upx, 41.26upx, #fff, 500); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
|
.setting-mask { |
||||
|
position: fixed; |
||||
|
left: 0; |
||||
|
top: 0; |
||||
|
width: 100vw; |
||||
|
height: 100vh; |
||||
|
background: rgba(0, 0, 0, .5); |
||||
|
|
||||
|
.sm-content { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
right: 0; |
||||
|
padding-top: 69.4upx; |
||||
|
width: 559upx; |
||||
|
height: 100%; |
||||
|
background: #fff; |
||||
|
|
||||
|
.sc-close { |
||||
|
position: absolute; |
||||
|
right: 28.33upx; |
||||
|
top: 18.76upx; |
||||
|
width: 34.51upx; |
||||
|
height: 34.51upx; |
||||
|
} |
||||
|
|
||||
|
.sc-title { |
||||
|
text-align: center; |
||||
|
@include flcw(22.5upx, 31.25upx, #1B1B1B, 500); |
||||
|
} |
||||
|
|
||||
|
.sc-container { |
||||
|
margin-top: 52.22upx; |
||||
|
padding: 0 20.39upx; |
||||
|
|
||||
|
.sc-line { |
||||
|
@include ctf; |
||||
|
|
||||
|
&+.sc-line { |
||||
|
margin-top: 6.57upx; |
||||
|
} |
||||
|
|
||||
|
.sl-desc { |
||||
|
@include flcw(16.88upx, 23.61upx, #1B1B1B, 500); |
||||
|
@include tHide; |
||||
|
} |
||||
|
|
||||
|
.sd-btn { |
||||
|
@include clearBtn; |
||||
|
flex-shrink: 0; |
||||
|
margin-left: 26upx; |
||||
|
text-align: center; |
||||
|
width: 120upx; |
||||
|
background: $mColor; |
||||
|
border-radius: 6.56upx; |
||||
|
@include flcw(16.88upx, 41.26upx, #fff, 500); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
</style> |
</style> |
@ -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