From 06b7757e3de40b5c380df429a06b859389c80fbc Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期三, 10 五月 2023 18:15:18 +0800 Subject: [PATCH] 修改公共时间 --- src/api/User.js | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/api/User.js b/src/api/User.js index b81e1ca..1bf5862 100644 --- a/src/api/User.js +++ b/src/api/User.js @@ -7,10 +7,25 @@ params }) } + export function addPublicityList(params) { return request({ url: '/user/add', method: 'post', - data:params + data: params + }) +} + +export function toManager(id) { + return request({ + url: '/user/toManager/' + id, + method: 'get' + }) +} +export function deleteUser(id) { + return request({ + url: '/user/crowd?id='+id, + method: 'delete', + }) } -- Gitblit v1.8.0