Merge branch 'feature/seo0326' into 'gray'
Feature/seo0326 See merge request !248
Showing
2 changed files
with
1 additions
and
10 deletions
@@ -440,6 +440,7 @@ function getSaleDiscountData(params, channel) { | @@ -440,6 +440,7 @@ function getSaleDiscountData(params, channel) { | ||
440 | if (subResult[1].code === 200) { | 440 | if (subResult[1].code === 200) { |
441 | let sknArr = []; | 441 | let sknArr = []; |
442 | 442 | ||
443 | + finalResult.saleList = finalResult.saleList || {}; | ||
443 | finalResult.saleList.goods = productProcess.processProductList(subResult[1].data.product_list); | 444 | finalResult.saleList.goods = productProcess.processProductList(subResult[1].data.product_list); |
444 | finalResult.saleList.totalCount = subResult[1].data.total; | 445 | finalResult.saleList.totalCount = subResult[1].data.total; |
445 | _.forEach(finalResult.saleList.goods, (value, key) => { | 446 | _.forEach(finalResult.saleList.goods, (value, key) => { |
@@ -18,16 +18,6 @@ var _gaq = _gaq || []; | @@ -18,16 +18,6 @@ var _gaq = _gaq || []; | ||
18 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | 18 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
19 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | 19 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
20 | })(); | 20 | })(); |
21 | - // 新品友代码 | ||
22 | - (function(w,d,s,l,a){ | ||
23 | - w._CommandName_=l;w[l]=w[l]||function(){(w[l].q=w[l].q||[]).push(arguments); | ||
24 | - w[l].track = function(){(w[l].q[w[l].q.length-1].t=[]).push(arguments)};return w[l]},w[l].a=a,w[l].l=1*new Date(); | ||
25 | - var c = d.createElement(s);c.async=1; | ||
26 | - c.src='//fm.ipinyou.com/j/t/a.js'; | ||
27 | - var h = d.getElementsByTagName(s)[0];h.parentNode.insertBefore(c, h); | ||
28 | - })(window,document,'script','py','MC..o8vMMWxEXDCiqYckD81lUX'); | ||
29 | - py('set','user',{'id':'0'}); | ||
30 | - py('event','viewPage'); | ||
31 | } | 21 | } |
32 | if (window.addEventListener) { | 22 | if (window.addEventListener) { |
33 | window.addEventListener('load', async_load, false); | 23 | window.addEventListener('load', async_load, false); |
-
Please register or login to post a comment