Commit 6d3121c5 by 刘泽奇

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

parents 9140ffc5 9045b70c
...@@ -48,7 +48,7 @@ module.exports = function (app) { ...@@ -48,7 +48,7 @@ module.exports = function (app) {
}); });
} }
}); });
app.get("/jdtm/loginUser", async function (req, res) { app.get("/login", async function (req, res) {
try { try {
var params = req.query; var params = req.query;
if (!params.state || !params.token_type || !params.access_token) { if (!params.state || !params.token_type || !params.access_token) {
...@@ -113,7 +113,7 @@ module.exports = function (app) { ...@@ -113,7 +113,7 @@ module.exports = function (app) {
instanceId: req.query.orderBizId, instanceId: req.query.orderBizId,
appInfo: { appInfo: {
authUrl: "http://tm.plus.jdcloud.com/jd/skipPage?channelUserId=" + req.query.jdPin, authUrl: "http://tm.plus.jdcloud.com/jd/skipPage?channelUserId=" + req.query.jdPin,
adminUrl: "http://tm.plus.jdcloud.com/jdtm/loginUser" adminUrl: "http://tm.plus.jdcloud.com/login"
} }
}; };
res.end(JSON.stringify(params)); res.end(JSON.stringify(params));
......
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