Commit b8dc0c7d by 兰国旗

Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel

parents ad04c9e5 5d8a61d0
...@@ -917,6 +917,9 @@ class UtilsOrderService extends AppServiceBase { ...@@ -917,6 +917,9 @@ class UtilsOrderService extends AppServiceBase {
opOrderResult.data = null; opOrderResult.data = null;
return opOrderResult; return opOrderResult;
} }
if(!opOrderResult.data){
return opOrderResult;
}
opOrderResult.data.appInfo = { opOrderResult.data.appInfo = {
uapp_id: appInfo.uapp_id, uapp_id: appInfo.uapp_id,
uapp_key: appInfo.uapp_key, uapp_key: appInfo.uapp_key,
......
...@@ -209,10 +209,8 @@ module.exports = function (app) { ...@@ -209,10 +209,8 @@ module.exports = function (app) {
content: "支付回调处理结果:" + JSON.stringify(result), content: "支付回调处理结果:" + JSON.stringify(result),
clientIp: client_ip || "" clientIp: client_ip || ""
}); });
if (result.status != 0) { var returnObj = JSON.stringify(result);
return res.end("FAIL"); return res.end(returnObj);
}
return res.end("success");
} catch (e) { } catch (e) {
var client_ip = system.get_client_ip(req); var client_ip = system.get_client_ip(req);
logCtl.error({ logCtl.error({
......
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