登录修复
This commit is contained in:
@@ -85,8 +85,11 @@ export const config = {
|
||||
return encrypted.toString();
|
||||
}
|
||||
}
|
||||
let {module} = params
|
||||
return http.post("/auth/oauth/token", params, {
|
||||
let {module, code} = params, action = "/auth/oauth/token"
|
||||
if (!!code) {
|
||||
action = "/auth/wechatcp/token"
|
||||
}
|
||||
return http.post(action, params, {
|
||||
withoutToken: true,
|
||||
module,
|
||||
params: {
|
||||
|
||||
Reference in New Issue
Block a user