project init
This commit is contained in:
22
oms/oms-h5/src/api/turntable.js
Normal file
22
oms/oms-h5/src/api/turntable.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import http from '@/utils/http'
|
||||
|
||||
/**
|
||||
* 查询抽奖奖品
|
||||
*/
|
||||
export function find(id) {
|
||||
return http.get('/turntable/' + id)
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除抽奖奖品
|
||||
*/
|
||||
export function remove(ids) {
|
||||
return http.post('/turntable/delete', { 'id[]': ids })
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存抽奖奖品
|
||||
*/
|
||||
export function save(params) {
|
||||
return http.post('/turntable', params)
|
||||
}
|
||||
Reference in New Issue
Block a user