| | |
| | | |
| | | // 删除 |
| | | export const del = async (id) => { |
| | | return request(`/api/huacheng-sangeshenbian/systemRole/delete/${id}`, { |
| | | return request(`/api/huacheng-sangeshenbian/systemUser/delete/${id}`, { |
| | | method: 'DELETE', |
| | | }); |
| | | } |
| | |
| | | return request(`/api/huacheng-sangeshenbian/systemUser/getAdministrativeDivision/${data.id}/${data.tier}`, { |
| | | method: 'GET', |
| | | }); |
| | | } |
| | | |
| | | // 冻结 |
| | | export const freezeApi = async (id) => { |
| | | return request(`/api/huacheng-sangeshenbian/systemUser/freeze/${id}`, { |
| | | method: 'PUT', |
| | | }); |
| | | } |
| | | // 解冻 |
| | | export const unfreezeApi = async (id) => { |
| | | return request(`/api/huacheng-sangeshenbian/systemUser/unfreeze/${id}`, { |
| | | method: 'PUT', |
| | | }); |
| | | } |