Showing
2 changed files
with
5 additions
and
2 deletions
@@ -34,6 +34,9 @@ const list = (req, res, next) => { | @@ -34,6 +34,9 @@ const list = (req, res, next) => { | ||
34 | params.isApp = req.yoho.isApp; | 34 | params.isApp = req.yoho.isApp; |
35 | params.physical_channel = req.yoho.channel && searchProcess.getChannelType(req.yoho.channel); | 35 | params.physical_channel = req.yoho.channel && searchProcess.getChannelType(req.yoho.channel); |
36 | 36 | ||
37 | + // 唤起 APP 的路径 | ||
38 | + res.locals.appPath = `yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.list","params":${JSON.stringify(params)}}`; | ||
39 | + | ||
37 | return searchModel.searchKeyActivity(params.query || '').then(activityResult => { | 40 | return searchModel.searchKeyActivity(params.query || '').then(activityResult => { |
38 | let activity = _.get(activityResult, 'urlobj.appUrl', ''); | 41 | let activity = _.get(activityResult, 'urlobj.appUrl', ''); |
39 | 42 |
@@ -14,8 +14,8 @@ const domains = { | @@ -14,8 +14,8 @@ const domains = { | ||
14 | liveApi: 'http://testapi.live.yohops.com:9999/', | 14 | liveApi: 'http://testapi.live.yohops.com:9999/', |
15 | singleApi: 'http://api-test3.yohops.com:9999/', | 15 | singleApi: 'http://api-test3.yohops.com:9999/', |
16 | 16 | ||
17 | - api: 'http://api-test3.yohops.com:9999/', | ||
18 | - service: 'http://service-test3.yohops.com:9999/', | 17 | + api: 'http://api.yoho.cn/', |
18 | + service: 'http://service.yoho.cn/', | ||
19 | global: 'http://api-global.yohobuy.com', | 19 | global: 'http://api-global.yohobuy.com', |
20 | 20 | ||
21 | // liveApi: 'http://api.live.yoho.cn/', | 21 | // liveApi: 'http://api.live.yoho.cn/', |
-
Please register or login to post a comment