feat:【MALL 商城】商城分佣提现,完成对微信转账(小程序)的对接

This commit is contained in:
YunaiV
2025-05-11 12:39:23 +08:00
parent 62d1f4f273
commit 5071816ea0
4 changed files with 68 additions and 3 deletions
+17
View File
@@ -387,3 +387,20 @@ export function goBindWeixin() {
},
});
}
// 获取微信支付渠道码
export function getWeixinPayChannelCode() {
const platform = sheep.$platform.name;
switch (platform) {
case 'WechatOfficialAccount':
return 'wx_pub';
case 'WechatMiniProgram':
return 'wx_lite';
case 'App':
return 'wx_app';
case 'H5':
return 'wx_wap';
default:
return '';
}
}