Authored by hf

fixes bug refs YBW-2680 cuxiao coupon

@@ -2,10 +2,11 @@ var $tip, tipItime; @@ -2,10 +2,11 @@ var $tip, tipItime;
2 2
3 /* 领指定券 */ 3 /* 领指定券 */
4 var activityId = $('#coupon-container').attr('param'); 4 var activityId = $('#coupon-container').attr('param');
  5 +var isApp;
5 6
6 $('.get-coupon').click(function() { 7 $('.get-coupon').click(function() {
7 var couponId = $(this).attr('param'); 8 var couponId = $(this).attr('param');
8 - var isApp = $(this).attr('href') !== 'javascript:;'; 9 + isApp = $(this).attr('href') !== 'javascript:;';
9 if (!isNaN(activityId) && !isNaN(couponId)) { 10 if (!isNaN(activityId) && !isNaN(couponId)) {
10 getNamedCoupon(activityId, couponId, isApp); 11 getNamedCoupon(activityId, couponId, isApp);
11 } 12 }
@@ -16,6 +17,12 @@ $('#get-all-coupon').click(function() { @@ -16,6 +17,12 @@ $('#get-all-coupon').click(function() {
16 getAllCoupon(activityId, isApp); 17 getAllCoupon(activityId, isApp);
17 }); 18 });
18 19
  20 +/* 检查是否有在领取中的券,有则直接领取 */
  21 +var cookieCouponId = cookie('_Coupon' + activityId);
  22 +if (cookieCouponId && !isNaN(cookieCouponId)) {
  23 + getNamedCoupon(activityId, cookieCouponId, isApp);
  24 +}
  25 +
19 /** 26 /**
20 * 微信分享 27 * 微信分享
21 */ 28 */
@@ -114,6 +121,54 @@ $('#get-all-coupon').click(function() { @@ -114,6 +121,54 @@ $('#get-all-coupon').click(function() {
114 }); 121 });
115 }()); 122 }());
116 123
  124 +function cookie(name) {
  125 + var cookies = document.cookie,
  126 + cookieVal,
  127 + offset;
  128 +
  129 + if (document.cookie && document.cookie !== '') {
  130 + offset = cookies.indexOf(name + '=');
  131 + if (offset > -1) {
  132 + offset += name.length + 1;
  133 +
  134 + cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset))));
  135 + }
  136 + }
  137 +
  138 + return cookieVal;
  139 +}
  140 +
  141 +function setCookie(name, value, options) {
  142 + var expires = '',
  143 + path,
  144 + domain,
  145 + secure,
  146 + date;
  147 +
  148 + if (typeof value !== 'undefined') {
  149 + options = options || {};
  150 + if (value === null) {
  151 + value = '';
  152 + options.expires = -1;
  153 + }
  154 +
  155 + if (options.expires &&
  156 + (typeof options.expires === 'number' || options.expires.toUTCString)) {
  157 + if (typeof options.expires === 'number') {
  158 + date = new Date();
  159 + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
  160 + } else {
  161 + date = options.expires;
  162 + }
  163 + expires = '; expires=' + date.toUTCString();
  164 + }
  165 + path = options.path ? '; path=' + options.path : '';
  166 + domain = options.domain ? '; domain=' + options.domain : '';
  167 + secure = options.secure ? '; secure' : '';
  168 + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
  169 + }
  170 +}
  171 +
117 /** 172 /**
118 * 显示提示 173 * 显示提示
119 */ 174 */
@@ -148,11 +203,16 @@ function getNamedCoupon(activityId, couponId, isApp) @@ -148,11 +203,16 @@ function getNamedCoupon(activityId, couponId, isApp)
148 success: function(data) { 203 success: function(data) {
149 if (data.code == 200) { 204 if (data.code == 200) {
150 showTip('恭喜你成功领取品牌优惠券<br><br>快去分享给你的小伙伴吧!'); 205 showTip('恭喜你成功领取品牌优惠券<br><br>快去分享给你的小伙伴吧!');
  206 + setCookie('_Coupon' + activityId, null);
151 } 207 }
152 else if (data.code == 201) { 208 else if (data.code == 201) {
153 showTip('你已领取过品牌优惠券<br><br>快去选购心仪的商品吧!'); 209 showTip('你已领取过品牌优惠券<br><br>快去选购心仪的商品吧!');
154 } 210 }
155 else if (data.code == 400) { 211 else if (data.code == 400) {
  212 + setCookie('_Coupon' + activityId, couponId, {
  213 + expires: 1,
  214 + domain: '.m.yohobuy.com'
  215 + });
156 if (isApp) { 216 if (isApp) {
157 showTip('请先登录!'); 217 showTip('请先登录!');
158 } else { 218 } else {
@@ -162,7 +222,9 @@ function getNamedCoupon(activityId, couponId, isApp) @@ -162,7 +222,9 @@ function getNamedCoupon(activityId, couponId, isApp)
162 else if (data.message) { 222 else if (data.message) {
163 //showTip(data.message); 223 //showTip(data.message);
164 showTip('系统繁忙,请稍候再试!'); 224 showTip('系统繁忙,请稍候再试!');
  225 + setCookie('_Coupon' + activityId, null);
165 } 226 }
  227 +
166 }, 228 },
167 error: function() { 229 error: function() {
168 showTip('网络断开连接啦~'); 230 showTip('网络断开连接啦~');
@@ -50,7 +50,7 @@ class CouponController extends HuodongAction @@ -50,7 +50,7 @@ class CouponController extends HuodongAction
50 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand'); 50 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand');
51 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); 51 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
52 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); 52 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
53 - $urlShare = Helpers::url('/cuxiao/coupon/getShare'); 53 + $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
54 $urlEncode = strtr($urlBoys, array('/' => '\\/')); 54 $urlEncode = strtr($urlBoys, array('/' => '\\/'));
55 55
56 $this->_view->display('boysbrand', array( 56 $this->_view->display('boysbrand', array(
@@ -64,10 +64,10 @@ class CouponController extends HuodongAction @@ -64,10 +64,10 @@ class CouponController extends HuodongAction
64 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg', 64 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg',
65 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!', 65 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!',
66 66
67 - 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"id":"75"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',  
68 - 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"id":"76"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',  
69 - 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"id":"77"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',  
70 - 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"id":"78"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}', 67 + 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',
  68 + 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',
  69 + 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',
  70 + 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}',
71 71
72 'url_350' => 'http://list.m.yohobuy.com/?gender=1,3&brand=350&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"350","title":"MACROPUS"}}', 72 'url_350' => 'http://list.m.yohobuy.com/?gender=1,3&brand=350&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"350","title":"MACROPUS"}}',
73 'url_160' => 'http://list.m.yohobuy.com/?gender=1,3&brand=60&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"60","title":"izzue"}}', 73 'url_160' => 'http://list.m.yohobuy.com/?gender=1,3&brand=60&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"60","title":"izzue"}}',
@@ -137,7 +137,7 @@ class CouponController extends HuodongAction @@ -137,7 +137,7 @@ class CouponController extends HuodongAction
137 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand'); 137 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand');
138 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); 138 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
139 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); 139 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
140 - $urlShare = Helpers::url('/cuxiao/coupon/getShare'); 140 + $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
141 $urlEncode = strtr($urlGirls, array('/' => '\\/')); 141 $urlEncode = strtr($urlGirls, array('/' => '\\/'));
142 142
143 $this->_view->display('girlsbrand', array( 143 $this->_view->display('girlsbrand', array(
@@ -151,10 +151,10 @@ class CouponController extends HuodongAction @@ -151,10 +151,10 @@ class CouponController extends HuodongAction
151 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg', 151 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg',
152 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!', 152 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!',
153 153
154 - 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"id":"75"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',  
155 - 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"id":"76"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',  
156 - 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"id":"77"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',  
157 - 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"id":"78"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}', 154 + 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',
  155 + 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',
  156 + 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',
  157 + 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}',
158 158
159 'url_570' => 'http://list.m.yohobuy.com/?gender=2,3&brand=570&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"570","title":"iyogurt"}}', 159 'url_570' => 'http://list.m.yohobuy.com/?gender=2,3&brand=570&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"570","title":"iyogurt"}}',
160 'url_864' => 'http://list.m.yohobuy.com/?gender=2,3&brand=868&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"868","title":"Mango"}}', 160 'url_864' => 'http://list.m.yohobuy.com/?gender=2,3&brand=868&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"868","title":"Mango"}}',
@@ -228,7 +228,7 @@ class CouponController extends HuodongAction @@ -228,7 +228,7 @@ class CouponController extends HuodongAction
228 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand'); 228 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand');
229 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); 229 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
230 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); 230 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
231 - $urlShare = Helpers::url('/cuxiao/coupon/getShare'); 231 + $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
232 $urlEncode = strtr($urlKids, array('/' => '\\/')); 232 $urlEncode = strtr($urlKids, array('/' => '\\/'));
233 233
234 $this->_view->display('kidsbrand', array( 234 $this->_view->display('kidsbrand', array(
@@ -243,10 +243,10 @@ class CouponController extends HuodongAction @@ -243,10 +243,10 @@ class CouponController extends HuodongAction
243 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg', 243 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg',
244 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!', 244 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!',
245 245
246 - 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"id":"75"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',  
247 - 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"id":"76"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',  
248 - 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"id":"77"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',  
249 - 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"id":"78"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}', 246 + 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',
  247 + 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',
  248 + 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',
  249 + 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}',
250 'url_907' => 'http://list.m.yohobuy.com/?msort=365&brand=907&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"907","title":"AMES BROS"}}', 250 'url_907' => 'http://list.m.yohobuy.com/?msort=365&brand=907&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"907","title":"AMES BROS"}}',
251 'url_600' => 'http://list.m.yohobuy.com/?msort=365&brand=600&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"600","title":"HAPPYATOMIC"}}', 251 'url_600' => 'http://list.m.yohobuy.com/?msort=365&brand=600&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"600","title":"HAPPYATOMIC"}}',
252 'url_888' => 'http://list.m.yohobuy.com/?msort=365&brand=888&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"888","title":"Am&ot"}}', 252 'url_888' => 'http://list.m.yohobuy.com/?msort=365&brand=888&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"888","title":"Am&ot"}}',
@@ -276,7 +276,7 @@ class CouponController extends HuodongAction @@ -276,7 +276,7 @@ class CouponController extends HuodongAction
276 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand'); 276 $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand');
277 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); 277 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
278 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); 278 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
279 - $urlShare = Helpers::url('/cuxiao/coupon/getShare'); 279 + $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
280 $urlEncode = strtr($urlLifestyle, array('/' => '\\/')); 280 $urlEncode = strtr($urlLifestyle, array('/' => '\\/'));
281 281
282 $this->_view->display('lifestylebrand', array( 282 $this->_view->display('lifestylebrand', array(
@@ -291,10 +291,10 @@ class CouponController extends HuodongAction @@ -291,10 +291,10 @@ class CouponController extends HuodongAction
291 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg', 291 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg',
292 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!', 292 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!',
293 293
294 - 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"id":"75"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',  
295 - 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"id":"76"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',  
296 - 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"id":"77"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',  
297 - 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"id":"78"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}', 294 + 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"75","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',
  295 + 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"76","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',
  296 + 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"77","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',
  297 + 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"78","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}',
298 298
299 'url_166' => 'http://list.m.yohobuy.com/?msort=10&brand=166&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"166","title":"九口山"}}', 299 'url_166' => 'http://list.m.yohobuy.com/?msort=10&brand=166&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"166","title":"九口山"}}',
300 'url_201' => 'http://list.m.yohobuy.com/?msort=10&brand=201&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"201","title":"wesc"}}', 300 'url_201' => 'http://list.m.yohobuy.com/?msort=10&brand=201&gender=1,2,3&openby:yohobuy={"action":"go.list","params":{"brand":"201","title":"wesc"}}',