Authored by 郝肖肖

改成同步请求,否则店铺固定位置会计算有误

1 -require('./shop/shop');  
2 require('./shop/coupon'); 1 require('./shop/coupon');
  2 +require('./shop/shop');
@@ -33,6 +33,7 @@ shopCoupon = { @@ -33,6 +33,7 @@ shopCoupon = {
33 $.ajax({ 33 $.ajax({
34 method: 'GET', 34 method: 'GET',
35 url: _url, 35 url: _url,
  36 + async: false,
36 data: { 37 data: {
37 shopId: that.common.shopId, 38 shopId: that.common.shopId,
38 brandId: that.common.brandId, 39 brandId: that.common.brandId,