...
|
...
|
@@ -126,11 +126,16 @@ const _getShopInfo = (shopId, uid) => { |
|
|
* @param {int} shopId
|
|
|
*/
|
|
|
const getShopIntro = (shopId, uid) => {
|
|
|
return api.get('', {
|
|
|
let params = {
|
|
|
method: 'app.shops.getIntro',
|
|
|
shop_id: shopId,
|
|
|
uid: uid
|
|
|
}, {code: 200}).then(result => {
|
|
|
shop_id: shopId
|
|
|
};
|
|
|
|
|
|
if (uid) {
|
|
|
params.uid = uid;
|
|
|
}
|
|
|
|
|
|
return api.get('', params, {code: 200}).then(result => {
|
|
|
return result && result.data;
|
|
|
});
|
|
|
};
|
...
|
...
|
|