Showing
3 changed files
with
14 additions
and
12 deletions
@@ -1525,9 +1525,11 @@ let getNewProductAsyncData = (data) => { | @@ -1525,9 +1525,11 @@ let getNewProductAsyncData = (data) => { | ||
1525 | 1525 | ||
1526 | params.is_student = data.isStudent ? 1 : 0; | 1526 | params.is_student = data.isStudent ? 1 : 0; |
1527 | 1527 | ||
1528 | - if (!params.is_student) { | ||
1529 | - params.current_vip_level = data.vipLevel; | ||
1530 | - } | 1528 | + params.current_vip_level = data.vipLevel; |
1529 | + | ||
1530 | + // if (!params.is_student) { | ||
1531 | + // params.current_vip_level = data.vipLevel; | ||
1532 | + // } | ||
1531 | 1533 | ||
1532 | return api.get('', params, { | 1534 | return api.get('', params, { |
1533 | code: 200, | 1535 | code: 200, |
@@ -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/', |
@@ -66,7 +66,7 @@ function render(data) { | @@ -66,7 +66,7 @@ function render(data) { | ||
66 | } | 66 | } |
67 | if (data.studentPrice) { | 67 | if (data.studentPrice) { |
68 | $('.price-date').removeClass(dbClass); | 68 | $('.price-date').removeClass(dbClass); |
69 | - $('.student-value').text('¥' + Math.round(studentPrice)); | 69 | + $('.student-value').text(data.studentPrice); |
70 | } else if (data.vipLevel) { | 70 | } else if (data.vipLevel) { |
71 | var li = $('.vip-level>li').first().remove(); | 71 | var li = $('.vip-level>li').first().remove(); |
72 | for (var i = 0; i < data.vipLevel.list.length; i++) { | 72 | for (var i = 0; i < data.vipLevel.list.length; i++) { |
-
Please register or login to post a comment