Authored by htoooth

fix

@@ -34,7 +34,7 @@ module.exports = class extends global.yoho.BaseModel { @@ -34,7 +34,7 @@ module.exports = class extends global.yoho.BaseModel {
34 data: { 34 data: {
35 brandId: bid, 35 brandId: bid,
36 type: 'brand', 36 type: 'brand',
37 - method: 'app.favorite.queryFavoriteCountByBrandId', 37 + method: 'app.favorite.queryFavoriteCountByBrandId'
38 }, 38 },
39 url: '/favorite', 39 url: '/favorite',
40 api: global.yoho.SingleAPI 40 api: global.yoho.SingleAPI
@@ -24,7 +24,7 @@ module.exports = class extends global.yoho.BaseModel { @@ -24,7 +24,7 @@ module.exports = class extends global.yoho.BaseModel {
24 default: 24 default:
25 return Promise.reject('favorite brand error'); 25 return Promise.reject('favorite brand error');
26 } 26 }
27 - }; 27 + }
28 28
29 getShopFavNumAsync(sid) { 29 getShopFavNumAsync(sid) {
30 return this.api.getShopFavNumAsync(sid).then((result) => { 30 return this.api.getShopFavNumAsync(sid).then((result) => {
@@ -42,7 +42,7 @@ module.exports = class extends global.yoho.BaseModel { @@ -42,7 +42,7 @@ module.exports = class extends global.yoho.BaseModel {
42 }; 42 };
43 } 43 }
44 }); 44 });
45 - }; 45 + }
46 46
47 getBrandFavNumAsync(bid) { 47 getBrandFavNumAsync(bid) {
48 return this.api.getBrandIdNumAsync(bid).then((result) => { 48 return this.api.getBrandIdNumAsync(bid).then((result) => {
@@ -60,7 +60,7 @@ module.exports = class extends global.yoho.BaseModel { @@ -60,7 +60,7 @@ module.exports = class extends global.yoho.BaseModel {
60 }; 60 };
61 } 61 }
62 }); 62 });
63 - }; 63 + }
64 64
65 65
66 }; 66 };