修改项目配置,完成要加入的等待和审批操作,修改了部分接口定义和参数

This commit is contained in:
2024-03-22 16:45:36 +08:00
parent e07641732f
commit 2c79edb80c
24 changed files with 378 additions and 30 deletions

View File

@@ -17,8 +17,8 @@ export const getWxCode = async function(data) {
}
// 获取扫描二维码的列表
export const getApproveList = async function(data) {
return await GET('/wx/getApproveList', data);
export const getApproveList = async function(status=0) {
return await GET('/wx/getApproveList?status=' + status, );
}
// 审批用户加入
@@ -29,4 +29,19 @@ export const approveUser = async function(data) {
// 移除用户
export const removeUser = async function(data) {
return await DELETE(`/wx/removeUser/${uid}`);
}
// 获取用户最新信息
export const getUserInfo = async function() {
return await GET('/wx/getUserInfo');
}
// 非管理员重新提交申请
export const reApprove = async function() {
return await POST('/wx/reApprove');
}
// 非管理员重新提交申请
export const userApply = async function(data) {
return await POST('/wx/apply', data);
}