init
This commit is contained in:
39
src/api/mp/wx-auto-reply.ts
Normal file
39
src/api/mp/wx-auto-reply.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function getPage(query) {
|
||||
return request({
|
||||
url: '/mp/wx-auto-reply/page',
|
||||
method: 'get',
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
export function addObj(obj) {
|
||||
return request({
|
||||
url: '/mp/wx-auto-reply',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
}
|
||||
|
||||
export function getObj(id) {
|
||||
return request({
|
||||
url: '/mp/wx-auto-reply/' + id,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export function delObj(id) {
|
||||
return request({
|
||||
url: '/mp/wx-auto-reply/' + id,
|
||||
method: 'delete',
|
||||
});
|
||||
}
|
||||
|
||||
export function putObj(obj) {
|
||||
return request({
|
||||
url: '/mp/wx-auto-reply',
|
||||
method: 'put',
|
||||
data: obj,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user