platformGoods.js
351 Bytes
import { http } from '@/main'
const defaultPath = 'scrm.api.shopmall.platform.'
const url = 'rop-scrm-shopmall/router'
// 获取平台商品分类
const getCategoryListApi = params => {
params.method = `${defaultPath}goods.category.list`
return http({
url,
data: params,
sign: true
})
}
export default {
getCategoryListApi
}