list.js
536 Bytes
import api from '../../common/api';
export default {
/**
* 商品列表
* @param params
* @returns {*}
*/
productList(params) {
return api.get({
url: '',
data: Object.assign({
method: 'app.search.shop.productList'
}, params)
});
},
/**
* 品牌信息
* @param brandId
* @returns {*}
*/
brandIntro(brandId) {
return api.get({
url: '',
data: {
brand_id: brandId,
method: 'app.brand.getBrandIntro'
}
});
}
};