直播添商品相关
This commit is contained in:
@ -24,4 +24,10 @@ export function edit(data) {
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del }
|
||||
export function sync() {
|
||||
return request({
|
||||
url: 'api/yxWechatLive/synchro',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export default { add, edit, del, sync }
|
||||
|
27
src/api/yxWechatLiveGoods.js
Normal file
27
src/api/yxWechatLiveGoods.js
Normal file
@ -0,0 +1,27 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/yxWechatLiveGoods',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/yxWechatLiveGoods/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/yxWechatLiveGoods',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del }
|
Reference in New Issue
Block a user