添加 app_version 到 User-Agent
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -144,7 +144,7 @@ exports.index = (req, res, next) => { | @@ -144,7 +144,7 @@ exports.index = (req, res, next) => { | ||
144 | let code = 'a83b7d55324fb65f96c1f85a3387ebd8'; | 144 | let code = 'a83b7d55324fb65f96c1f85a3387ebd8'; |
145 | let uid = req.__USER__.uid; | 145 | let uid = req.__USER__.uid; |
146 | let options; | 146 | let options; |
147 | - let noLoginUrl = helpers.urlFormat('/activity/student/register')+'?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + req.__USER__.http + '://m.yohobuy.com/activity/student"}}}'; | 147 | + let noLoginUrl = helpers.urlFormat('/activity/student/register') + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + req.__USER__.http + '://m.yohobuy.com/activity/student"}}}'; |
148 | 148 | ||
149 | 149 | ||
150 | 150 | ||
@@ -233,7 +233,7 @@ exports.index = (req, res, next) => { | @@ -233,7 +233,7 @@ exports.index = (req, res, next) => { | ||
233 | uid: req.__USER__.uid, | 233 | uid: req.__USER__.uid, |
234 | app_version: req.__USER__.app_version, | 234 | app_version: req.__USER__.app_version, |
235 | isAppNoLogin: req.__USER__.isApp && !req.__USER__.isLogin, | 235 | isAppNoLogin: req.__USER__.isApp && !req.__USER__.isLogin, |
236 | - noLoginUrl:noLoginUrl | 236 | + noLoginUrl: noLoginUrl |
237 | }; | 237 | }; |
238 | if (!req.__USER__.isApp) { | 238 | if (!req.__USER__.isApp) { |
239 | options.pageHeader = headerModel.setNav({ | 239 | options.pageHeader = headerModel.setNav({ |
-
Please register or login to post a comment