Authored by zhangxiaoru

bottom url

@@ -34,10 +34,13 @@ module.exports = function(specificGender) { @@ -34,10 +34,13 @@ module.exports = function(specificGender) {
34 34
35 var $footer; 35 var $footer;
36 36
37 - var bottomBannerLoaded; 37 + var bottomBannerLoaded,
  38 + channel;
38 39
39 require('../common'); 40 require('../common');
40 41
  42 + channel = window.cookie('_Channel');
  43 +
41 ellipsis.init(); 44 ellipsis.init();
42 45
43 // ajax url 46 // ajax url
@@ -142,13 +145,13 @@ module.exports = function(specificGender) { @@ -142,13 +145,13 @@ module.exports = function(specificGender) {
142 return; 145 return;
143 } 146 }
144 147
145 - url = '/channel/bottomBanner'; 148 + url = '/' + channel + '/bottomBanner';
146 149
147 $.ajax({ 150 $.ajax({
148 type: 'GET', 151 type: 'GET',
149 url: url, 152 url: url,
150 data: { 153 data: {
151 - gender: window.queryString._Channel 154 + gender: channel
152 }, 155 },
153 success: function(data) { 156 success: function(data) {
154 bottomBannerLoaded = true; 157 bottomBannerLoaded = true;