获取不到payment参数,发布体验版报spbillCreateIp为空?
exports.main = async (event, context) => { const wxContext = cloud.getWXContext() let ip = wxContext.CLIENTIP let { outTradeNo, totalFee, body } = event const res = await cloud.cloudPay.unifiedOrder({ "body": body, "outTradeNo": outTradeNo, "spbillCreateIp": ip, "subMchId": subMchId, "totalFee": totalFee, "envId": "XXXX", //cloud.DYNAMIC_CURRENT_ENV "functionName": "pay_cb" }) [图片] 手机微信版本 8.0.2 该如何解决