discovery.js
1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import api from '../request/http'
module.exports = {
/**查询商户的指定类型专区列表 */
getZoneInfo(zoneType) {
return api.post({
method: `scrm.api.shopmall.zoneInfo.weapp.listByMerchantId`,
zoneType //专区类型(1发现频道,2商城专区)
})
},
/*获取商户详情 */
getMerchantDetail(data) {
return api.post({
method: 'scrm.api.carlife.merchant.detail',
...data
})
},
/**查询小程序发现频道-配置升级的分类列表 */
getDiscoverChannelCategory(data) {
return api.post({
method: 'scrm.api.shopmall.discover.category.merchant.list',
...data
})
},
getDiscoverConfig(data) {
return api.post({
method: 'scrm.api.shopmall.weapp.discover.channel.merchant.getconfig',
...data
})
},
/**查询小程序发现频道-配置升级的商品 */
getDiscoverChannelCategoryGoods(data) {
return api.post({
method: 'scrm.api.shopmall.goods.configuration.list.mini',
...data
})
}
}