修改二维码登录逻辑
This commit is contained in:
@@ -12,8 +12,8 @@ export const userValidate = async function(data) {
|
||||
}
|
||||
|
||||
// 获取用户邀请二维码
|
||||
export const getWxCode = async function(data) {
|
||||
return await GET('/wx/getWxCode', data);
|
||||
export const getWxCode = async function(id) {
|
||||
return await GET(`/wx/getWxCode?id=${id}`);
|
||||
}
|
||||
|
||||
// 获取扫描二维码的列表
|
||||
@@ -41,7 +41,7 @@ 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