“带你”

main
123456 19 hours ago
parent ab393e893c
commit bb950b27dd
  1. 12
      api/request.js
  2. 2
      pages/users/recharge/index.vue
  3. 8
      unpackage/dist/dev/app-plus/app-service.js
  4. 2
      unpackage/dist/dev/app-plus/pages/pipei/shipin/detail.js
  5. 2
      unpackage/dist/dev/app-plus/pages/users/renzheng/camera.js

@ -15,9 +15,7 @@ export function request(prams) {
"deviceSn": uni.getStorageSync("deviceSn"),
},
success: (res) => {
if (res.data.code == 200 || res.data.code == -1){
// console.log(prams)
// console.log("返回结果:"+JSON.stringify(res.data))
if (res.data.code == 200 || res.data.code == -1){
resolve(res.data);
}else if(res.data.code == 401){
uni.showModal({
@ -53,10 +51,14 @@ export function request(prams) {
}
},
fail: (err) => {
fail: (err) => {
console.log(prams)
console.log("fail返回结果:",err)
reject(err);
},
complete: () => {
complete: (err) => {
console.log(prams)
console.log("complete返回结果:",err)
//console.log('请求完成')
}
});

@ -207,7 +207,7 @@
console.log("success",res)
const respone = await that.$api.iosPayReceipt({
outTradeNo: orderId,
receipt: res
receipt: JSON.stringify(res)
});
uni.hideLoading()
console.log(respone)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save