Showing
2 changed files
with
4 additions
and
1 deletions
@@ -8,7 +8,7 @@ var handlebars = require('yoho.handlebars'); | @@ -8,7 +8,7 @@ var handlebars = require('yoho.handlebars'); | ||
8 | var json2 = require('json2'); | 8 | var json2 = require('json2'); |
9 | var vipInfoCombine = null; //用户信息编译模板 | 9 | var vipInfoCombine = null; //用户信息编译模板 |
10 | var loginInfoCombine = null; //登录信息编译模板 | 10 | var loginInfoCombine = null; //登录信息编译模板 |
11 | -var apiDomain = 'http://test.open.yohobuy.com/'; //获取数据的地址http://api.open.yohobuy.com | 11 | +var apiDomain = $('#api-domain').val(); //获取数据的地址 |
12 | var cartTpl = ''; //购物车模板 | 12 | var cartTpl = ''; //购物车模板 |
13 | /** | 13 | /** |
14 | * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) | 14 | * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) |
@@ -65,6 +65,8 @@ var bannerMap = { | @@ -65,6 +65,8 @@ var bannerMap = { | ||
65 | }; | 65 | }; |
66 | var cookieMap = {}; | 66 | var cookieMap = {}; |
67 | 67 | ||
68 | +$('#api-domain').remove(); //删除信息表单 | ||
69 | + | ||
68 | function getSource(column, postition, event) { | 70 | function getSource(column, postition, event) { |
69 | try { | 71 | try { |
70 | dataLayer.push({ | 72 | dataLayer.push({ |
-
Please register or login to post a comment