...
|
...
|
@@ -8,6 +8,8 @@ const co = Promise.coroutine; |
|
|
const _ = require('lodash');
|
|
|
const Api = require('./shop-api');
|
|
|
|
|
|
const DEFAULT_IMG = '01091c21f2317a64f123f1649fbbccf7ba';
|
|
|
|
|
|
module.exports = class extends global.yoho.BaseModel {
|
|
|
constructor(ctx) {
|
|
|
super(ctx);
|
...
|
...
|
@@ -22,7 +24,7 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
return null;
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
}
|
|
|
|
|
|
queryShopByBrandIdAsync(sid, bid) {
|
|
|
return co(function * () {
|
...
|
...
|
|