Commit 314204db by 宋毅

tj

parent a7e9c6b1
......@@ -40,7 +40,8 @@ module.exports = function (app) {
});
app.get("/jd/orderNotify", async function (req, res) {
req.query.actionProcess = "jd";
var result = await tmqueryCtl.pushJdPayOrder(req.query, req);
var pushData = req.query;
var result = await tmqueryCtl.pushJdPayOrder(pushData, req);
if (result.status != 0) {
res.end(JSON.stringify(result));
return;
......@@ -53,6 +54,10 @@ module.exports = function (app) {
adminUrl: "https://tm.plus.jdcloud.com"
}
};
if (["FW_GOODS-582206-1", "FW_GOODS-582208-1", "FW_GOODS-582207-1"].indexOf(pushData.skuId) < 0) {
params.appInfo.authUrl = "https://gs.plus.jdcloud.com/jd/skipPage?channelUserId=" + req.query.jdPin;
params.appInfo.adminUrl = "https://gs.plus.jdcloud.com";
}//为工商产品
res.end(JSON.stringify(params));
return;
});
......
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