支付问题

feature/v-xuexi
wangdong 8 months ago
parent f70b08b542
commit e29902579b
  1. 2
      components/PayDialog/index.vue
  2. 13
      manifest.json
  3. 4
      pages/activity/event.vue
  4. 4
      pages/my/recharge.vue
  5. 4
      pages/my/studyAbroad.vue
  6. 4
      pages/special/confirm_order.vue
  7. 4
      pages/special/data_details.vue
  8. 4
      pages/special/details.vue
  9. 4
      pages/special/member_recharge.vue
  10. 4
      pages/special/offline_apply.vue
  11. 5
      pages/special/order.vue
  12. 4
      pages/special/order_store_list.vue
  13. 4
      pages/special/pink.vue
  14. 4
      pages/special/question_index.vue
  15. 4
      pages/special/recharge_index.vue
  16. 4
      pages/special/single_con_detail.vue
  17. 4
      pages/special/single_details.vue
  18. 4
      pages/special/task_text_info.vue
  19. 4
      pages/topic/subjectAnalysisDialog.vue

@ -263,6 +263,7 @@ export default {
try {
console.log(backUrlCRshlcICwGdGY);
const data = await createOrder(backUrlCRshlcICwGdGY);
console.log(JSON.stringify(data));
uni.hideLoading();
if (data.code === 200) {
this.$emit("change", {
@ -274,6 +275,7 @@ export default {
this.$emit("update:open", false);
}
} catch (err) {
console.log(JSON.stringify(err));
uni.hideLoading();
this.$util.showMsg(err.msg);
}

@ -1,9 +1,9 @@
{
"name" : "梦航学习宝",
"appid" : "__UNI__640EC10",
"description" : "1.1.6",
"versionName" : "1.0.16",
"versionCode" : 116,
"description" : "1.1.7",
"versionName" : "1.0.17",
"versionCode" : 117,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@ -74,11 +74,16 @@
"payment" : {
"alipay" : {
"__platform__" : [ "ios", "android" ]
},
"weixin" : {
"__platform__" : [ "ios", "android" ],
"appid" : "wxcd2c36c7cbe79194",
"UniversalLinks" : "https://kn.tczxkj.com/"
}
},
"oauth" : {
"weixin" : {
"appid" : "wx860a75a277e1265b",
"appid" : "wxcd2c36c7cbe79194",
"appsecret" : "772ab067193d2bdc0b8dcaf28f6e18c5",
"UniversalLinks" : "https://kn.tczxkj.com/"
}

@ -293,8 +293,8 @@ export default {
this.extendOrder(data.msg);
break;
case 'WECHAT_PAY':
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case 'WECHAT_H5_PAY':
this.payDialogOpen = false;

@ -230,8 +230,8 @@ import { getUserInfo } from "@/api/auth";
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -148,8 +148,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -390,9 +390,9 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_ROUTINE_PAY":
this.$util.wechatRoutinePay(data.data.result.jsConfig, this);

@ -333,8 +333,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -1709,8 +1709,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -248,8 +248,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -171,8 +171,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -343,6 +343,7 @@
},
pay_order(data) {
this.orderId = data.data.result.orderId || "";
console.log(JSON.stringify(data));
switch (data.data.status) {
case "PAY_ERROR":
case "ORDER_EXIST":
@ -350,8 +351,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_ROUTINE_PAY":
this.$util.wechatRoutinePay(data.data.result.jsConfig, this);

@ -272,8 +272,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_ROUTINE_PAY":
this.$util.wechatRoutinePay(data.data.result.jsConfig, this);

@ -347,8 +347,8 @@ export default {
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_ROUTINE_PAY":
this.$util.wechatRoutinePay(data.data.result.jsConfig, this);

@ -170,8 +170,8 @@
this.orderId = data.data.result.orderId || "";
switch (data.data.status) {
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_ROUTINE_PAY":
this.$util.wechatRoutinePay(data.data.result.jsConfig, this);

@ -246,8 +246,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -322,8 +322,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -824,8 +824,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -224,8 +224,8 @@
this.extendOrder(data.msg);
break;
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_H5_PAY":
this.payDialogOpen = false;

@ -100,8 +100,8 @@
this.orderId = data.data.result.orderId || "";
switch (data.data.status) {
case "WECHAT_PAY":
// this.wechatPay(data.data.result.jsConfig);
this.$util.weixinAppPay(data.data.result.jsConfig,this);
this.wechatPay(data.data.result.jsConfig);
// this.$util.weixinAppPay(data.data.result.jsConfig,this);
break;
case "WECHAT_ROUTINE_PAY":
this.$util.wechatRoutinePay(data.data.result.jsConfig, this);

Loading…
Cancel
Save