cmmodityLibrary.js
445 Bytes
import { http } from '@/main'
const getWarehousListApi = params => {
params.method = 'scrm.api.live.goods.list'
return http({
url: '',
method: 'GET',
data: params,
sign: true
})
}
const uploadImg = params => {
params.method = 'scrm.api.live.wechat.upload.image'
return http({
url: '',
method: 'POST',
data: params,
sign: true,
noSignAttr: ['file']
})
}
export { getWarehousListApi, uploadImg }