Commit 72ffa5eb by 刘泽奇

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

parents 9920b13c 2b122e60
...@@ -35,7 +35,7 @@ module.exports = function (app) { ...@@ -35,7 +35,7 @@ module.exports = function (app) {
return; return;
} }
} }
var skipUrl = "/#/jd/" + params.state + "?channelUserId=" + encodeURIComponent(userItemResult.data.encryptChannelUserId); var skipUrl = "/#/jd/" + params.state + "?sdsId=FW_GOODS-582206-1&channelUserId=" + encodeURIComponent(userItemResult.data.encryptChannelUserId);
res.redirect(skipUrl); res.redirect(skipUrl);
}); });
app.get("/jd/orderNotify", async function (req, res) { app.get("/jd/orderNotify", async function (req, res) {
...@@ -70,7 +70,7 @@ module.exports = function (app) { ...@@ -70,7 +70,7 @@ module.exports = function (app) {
res.redirect("/#/jd/jdtrademark"); res.redirect("/#/jd/jdtrademark");
return; return;
} }
res.redirect("/#/jd/jdindentlist?channelUserId=" + encodeURIComponent(userItemResult.data.encryptChannelUserId)); res.redirect("/#/jd/jdindentlist?sdsId=FW_GOODS-582206-1&channelUserId=" + encodeURIComponent(userItemResult.data.encryptChannelUserId));
return; return;
}); });
...@@ -237,15 +237,6 @@ module.exports = function (app) { ...@@ -237,15 +237,6 @@ module.exports = function (app) {
console.log(error.stack, "get/admin,error............."); console.log(error.stack, "get/admin,error.............");
} }
}); });
app.get("/admin", async function (req, res) {
try {
var appinfo = await metaCtl.getAppInfo(req);
res.render("admin", appinfo);
} catch (error) {
console.log(error.stack, "get/admin,error.............");
}
});
app.get('/web/:gname/:qname/:method', function (req, res) { app.get('/web/:gname/:qname/:method', function (req, res) {
try { try {
var classPath = req.params["qname"]; var classPath = req.params["qname"];
......
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