fix:替换appID为7a9,修复支付分调用失败订单无法正确取消的问题

This commit is contained in:
2025-07-08 09:03:06 +08:00
parent 309963755d
commit 893a2a55c6
51 changed files with 157 additions and 148 deletions
+2 -3
View File
@@ -10,7 +10,7 @@ const wxLogin = () => {
if (loginRes.code) {
const result = await config_user.login({
code: loginRes.code,
appid: "wxe752f45e7f7aa271"
appid: "wx2165f0be356ae7a9"
});
if (result.code === 200) {
common_vendor.index.setStorageSync("token", result.data.LoginWxVo.access_token);
@@ -61,7 +61,6 @@ const initiateWeChatScorePayment = (paymentData) => {
package: paymentData.data.package
},
success: (businessRes) => {
common_vendor.index.__f__("log", "at util/index.js:92", "微信支付分小程序调用成功", businessRes);
if (businessRes.errMsg === "openBusinessView:ok") {
resolve(businessRes);
} else {
@@ -69,7 +68,7 @@ const initiateWeChatScorePayment = (paymentData) => {
}
},
fail: (error) => {
common_vendor.index.__f__("error", "at util/index.js:101", "微信支付分小程序调用失败", error);
common_vendor.index.__f__("error", "at util/index.js:100", "微信支付分小程序调用失败", error);
common_vendor.index.showToast({
title: error.errMsg || "支付分接口调用失败",
icon: "none"