Showing
4 changed files
with
10 additions
and
44 deletions
@@ -13,7 +13,7 @@ const back = require(cRoot + '/back'); | @@ -13,7 +13,7 @@ const back = require(cRoot + '/back'); | ||
13 | const bind = require(cRoot + '/bind'); | 13 | const bind = require(cRoot + '/bind'); |
14 | const reg = require(cRoot + '/reg'); | 14 | const reg = require(cRoot + '/reg'); |
15 | 15 | ||
16 | -// const smsLogin = require(cRoot + '/sms'); | 16 | +const smsLogin = require(cRoot + '/sms'); |
17 | const update = require(cRoot + '/update'); | 17 | const update = require(cRoot + '/update'); |
18 | const agreement = require(cRoot + '/app-agreement'); | 18 | const agreement = require(cRoot + '/app-agreement'); |
19 | 19 |
@@ -527,7 +527,7 @@ const getShopData = (req, shopId, uid, isApp) => { | @@ -527,7 +527,7 @@ const getShopData = (req, shopId, uid, isApp) => { | ||
527 | return Promise.all([ | 527 | return Promise.all([ |
528 | searchModel.getFilterSearchData({ | 528 | searchModel.getFilterSearchData({ |
529 | shop_id: shopId, | 529 | shop_id: shopId, |
530 | - type: 'default',//默认 | 530 | + type: 'default', // 默认 |
531 | brand: brandData.join(','), | 531 | brand: brandData.join(','), |
532 | order: '0', | 532 | order: '0', |
533 | channel: channel | 533 | channel: channel |
@@ -16,15 +16,15 @@ module.exports = { | @@ -16,15 +16,15 @@ module.exports = { | ||
16 | siteUrl: '//m.yohobuy.com', | 16 | siteUrl: '//m.yohobuy.com', |
17 | assetUrl: '//localhost:5001', | 17 | assetUrl: '//localhost:5001', |
18 | domains: { | 18 | domains: { |
19 | - // api: 'http://api.yoho.cn/', | ||
20 | - // service: 'http://service.yoho.cn/', | ||
21 | - // liveApi: 'http://api.live.yoho.cn/', | ||
22 | - // singleApi: 'http://single.yoho.cn/' | 19 | + api: 'http://api.yoho.cn/', |
20 | + service: 'http://service.yoho.cn/', | ||
21 | + liveApi: 'http://api.live.yoho.cn/', | ||
22 | + singleApi: 'http://single.yoho.cn/' | ||
23 | 23 | ||
24 | - api: 'http://api-test3.yohops.com:9999/', | ||
25 | - service: 'http://service-test3.yohops.com:9999/', | ||
26 | - liveApi: 'http://testapi.live.yohops.com:9999/', | ||
27 | - singleApi: 'http://api-test3.yohops.com:9999/' | 24 | + // api: 'http://api-test3.yohops.com:9999/', |
25 | + // service: 'http://service-test3.yohops.com:9999/', | ||
26 | + // liveApi: 'http://testapi.live.yohops.com:9999/', | ||
27 | + // singleApi: 'http://api-test3.yohops.com:9999/' | ||
28 | 28 | ||
29 | // favApi: 'http://192.168.102.31:8092/brower', | 29 | // favApi: 'http://192.168.102.31:8092/brower', |
30 | // api: 'http://192.168.102.205:8080/gateway/', | 30 | // api: 'http://192.168.102.205:8080/gateway/', |
@@ -99,39 +99,6 @@ $btnSure.on('touchstart', function() { | @@ -99,39 +99,6 @@ $btnSure.on('touchstart', function() { | ||
99 | if (!validatePWD(pwd)) { | 99 | if (!validatePWD(pwd)) { |
100 | showErrTip('密码6-20位,请重新输入'); | 100 | showErrTip('密码6-20位,请重新输入'); |
101 | } else { | 101 | } else { |
102 | -<<<<<<< HEAD | ||
103 | - $.ajax({ | ||
104 | - type: 'POST', | ||
105 | - url: '/passport/reg/setpassword', | ||
106 | - data: { | ||
107 | - password: pwd, | ||
108 | - phoneNum: $('#phone-num').val(), | ||
109 | - areaCode: $('#area-code').val(), | ||
110 | - token: $('#token').val() | ||
111 | - }, | ||
112 | - success: function(data) { | ||
113 | - var res = data.data; | ||
114 | - | ||
115 | - if (data.code === 200) { | ||
116 | - // 统计代码:用于统计从哪个渠道注册成功的 | ||
117 | - if (window._yas && window._yas.sendCustomInfo) { | ||
118 | - window._yas.sendCustomInfo({ | ||
119 | - op: 'YB_REGISTER_SUCCESS_L', | ||
120 | - param: JSON.stringify({ | ||
121 | - C_ID: window._ChannelVary[window.cookie('_Channel')] || 1, | ||
122 | - UNION_TYPE: window.queryString.union_type || window.cookie('unionTypeYas') || false | ||
123 | - }) | ||
124 | - }, true); | ||
125 | - } | ||
126 | - showErrTip('注册成功'); | ||
127 | - | ||
128 | - location.href = res.href; | ||
129 | - } else { | ||
130 | - showErrTip(data.message); | ||
131 | - } | ||
132 | - } | ||
133 | - }); | ||
134 | -======= | ||
135 | if ($('.pitch').hasClass('select')) { | 102 | if ($('.pitch').hasClass('select')) { |
136 | setPassword(); | 103 | setPassword(); |
137 | } else { | 104 | } else { |
@@ -149,7 +116,6 @@ $btnSure.on('touchstart', function() { | @@ -149,7 +116,6 @@ $btnSure.on('touchstart', function() { | ||
149 | location.href = '//m.yohobuy.com/passport/agreement' + window.location.search + '&pwd=' + pwd; | 116 | location.href = '//m.yohobuy.com/passport/agreement' + window.location.search + '&pwd=' + pwd; |
150 | }); | 117 | }); |
151 | } | 118 | } |
152 | ->>>>>>> release/5.2 | ||
153 | } | 119 | } |
154 | }); | 120 | }); |
155 | 121 |
-
Please register or login to post a comment