1234567891011 |
- const {request} = require('../https/request.js')
- module.exports = {
- //添加分组
- postGroup: (params) => request('/groups', 'POST', params),
- //获取分组信息
- getGroup: () => request('/groups', 'GET'),
- //修改分组
- putGroup: (params) => request('/groups', 'PUT', params),
- //删除分组
- delGroup: (number) => request('/groups?id=' + number, 'DELETE')
- }
|