Commit 5f3f7036 by linboxuan

alipayNotify

parent f7512765
......@@ -90,6 +90,7 @@ class UtilsUcommuneService extends AppServiceBase {
return system.getResult(null, orderResult);
} else {
if(actionBody.payWay == 1) { // 支付宝
try {
let creatPayRequrl = "https://yf-api.gongsibao.com/pay/v1/aliPay/getPrePayIdAliPay";
let params = {
"app": "ukgc",//固定
......@@ -113,6 +114,16 @@ class UtilsUcommuneService extends AppServiceBase {
return system.getResultSuccess(res.data)
}
return system.getResult(null, res.data);
} catch (e) {
this.logCtl.error({
optitle: "alipay生成支付串---error异常",
op: "center-app/app/base/service/impl/utilsSve/utilsUcommuneSve.js/orderConfirm",
content: "参数=" + JSON.stringify(parmas) + ",error:" + e.stack,
clientIp: client_ip || ""
});
return system.getResultFail(-200, e.stack);
}
// 之前写的 调用wx/alipay的方法,后续用不到会删掉
// let sign = await PayUtil.getSign(null,"1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment