feat:【framework 框架】增加 api 加解密能力(默认登录先不加密,避免大家不理解)
parent
4be6d26375
commit
271546a98b
|
@ -66,7 +66,7 @@ export namespace AuthApi {
|
|||
export async function loginApi(data: AuthApi.LoginParams) {
|
||||
return requestClient.post<AuthApi.LoginResult>('/system/auth/login', data, {
|
||||
headers: {
|
||||
isEncrypt: true,
|
||||
isEncrypt: false,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ export namespace AuthApi {
|
|||
export async function loginApi(data: AuthApi.LoginParams) {
|
||||
return requestClient.post<AuthApi.LoginResult>('/system/auth/login', data, {
|
||||
headers: {
|
||||
isEncrypt: true,
|
||||
isEncrypt: false,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue