修改项目配置,完成要加入的等待和审批操作,修改了部分接口定义和参数
This commit is contained in:
@@ -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);
|
||||
}
|
Reference in New Issue
Block a user