Commit 89248483 by 任晓松

支付回调

parent 289c60b0
...@@ -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