处理商户id 判断

main
格调main 2026-03-19 15:30:01 +08:00
parent b3d6a3dc1b
commit 9ab3c29168
1 changed files with 6 additions and 2 deletions

View File

@ -418,12 +418,16 @@ export default {
uni.showToast({ title: "支付金额异常", icon: "none" }); uni.showToast({ title: "支付金额异常", icon: "none" });
return; return;
} }
if (order.tlPayCusid == null || order.tlPayCusid == ""){
uni.showToast({ title: "当前商户还未配置支付信息不可购买", icon: "none" });
return;
}
// //
let params = { let params = {
appid: "00390105", // appid appid: "00390105", // appid
body: bodyStr, // body: bodyStr, //
cusid: order.tlPayCusid, // cusid: order.tlPayCusid, //
notify_url: notify_url:
"https://guangsh.manage.hschengtai.com/admin-api/member/lu-order/tlNotice", // "https://guangsh.manage.hschengtai.com/admin-api/member/lu-order/tlNotice", //
orgid: "56479107392N35H", orgid: "56479107392N35H",