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