Browse Source

修改支付弹出层回调,这个版本已经同步给左都辉了

master
liutong 1 year ago
parent
commit
81ef64fdbd
  1. 1
      components/payment/payment.vue
  2. 8
      config/development.js
  3. 2
      manifest.json

1
components/payment/payment.vue

@ -303,6 +303,7 @@ export default {
uni.hideLoading(); uni.hideLoading();
if (res.code >= 0) { if (res.code >= 0) {
console.log(res.data, `pay`); console.log(res.data, `pay`);
this.payInfo.pay_money = res.data.pay_money;
this.getPayInfo(res.data.out_trade_no) this.getPayInfo(res.data.out_trade_no)
if (res.data.pay_success) { if (res.data.pay_success) {
this.paySuccess(); this.paySuccess();

8
config/development.js

@ -3,12 +3,12 @@
// api请求地址 // api请求地址
// export const baseUrl = 'https://cbtadmin.jtyqt.com' // export const baseUrl = 'https://cbtadmin.jtyqt.com'
// export const baseUrl = 'https://yaochangtest.first.xinzhidi.cn'//测试地址1 export const baseUrl = 'https://yaochangtest.first.xinzhidi.cn'//测试地址1
export const baseUrl = 'http://devzhiyao.zeyan.wang'//测试地址2 // export const baseUrl = 'http://devzhiyao.zeyan.wang'//测试地址2
// 图片域名 // 图片域名
// export const imgDomain = 'https://yaochangtest.first.xinzhidi.cn'//测试地址1 export const imgDomain = 'https://yaochangtest.first.xinzhidi.cn'//测试地址1
export const imgDomain = 'http://devzhiyao.zeyan.wang'//测试地址2 // export const imgDomain = 'http://devzhiyao.zeyan.wang'//测试地址2
// export const imgDomain = 'https://cbtadmin.jtyqt.com' // export const imgDomain = 'https://cbtadmin.jtyqt.com'
// export const imgDomain = 'https://qcyadmin.oss-cn-beijing.aliyuncs.com/migrate' // export const imgDomain = 'https://qcyadmin.oss-cn-beijing.aliyuncs.com/migrate'

2
manifest.json

@ -1,6 +1,6 @@
{ {
"name" : "齐采药", "name" : "齐采药",
"appid" : "__UNI__9009737", "appid" : "__UNI__9C80A8A",
"description" : "", "description" : "",
"versionName" : "1.000.1243", "versionName" : "1.000.1243",
"versionCode" : 10001243, "versionCode" : 10001243,

Loading…
Cancel
Save