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