代码优化

This commit is contained in:
GaoHao
2025-03-26 17:18:49 +08:00
parent 656793dae2
commit 5a655ba09e
9 changed files with 6 additions and 15 deletions

View File

@@ -928,7 +928,6 @@
async function pay(par) {
const payType = pays.payTypes.list[pays.payTypes.selIndex].payType
let pars = getPayParam()
console.log(pars)
payStatus = 'paying'
let params = {
shopId: uni.getStorageSync("shopInfo").id,
@@ -945,9 +944,6 @@
params.creditBuyerId = pageData.buyer.id
}
console.log(params)
try {
if (payType == 'scanCode') {
await microPay(params)