home.js
594 Bytes
import api from '../request/http'
module.exports = {
/**获取商户小程序首页配置 */
getHomeConfig(data) {
return api.post({
method: `scrm.api.shopmall.weapp.homeConfig.getByMerchant`,
...data
})
},
/**查询当前商户的分类列表 */
getClassifyList(data) {
return api.post({
method: `scrm.api.shopmall.classify.weapp.listByMerchantId`,
...data
})
},
/** 分页查询活动 */
getActivityList(data) {
return api.post({
method: 'scrm.api.shopmall.weapp.activity.page',
pageSize: 10,
...data
})
},
}