feat: 对网络请求的调整优化处理
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { login } from "../request/api/Index";
|
||||
import { login } from "../request/api/LoginApi";
|
||||
|
||||
import { getWeChatAuthCode } from "./AuthManager";
|
||||
|
||||
@@ -12,7 +12,8 @@ export async function loginAuth() {
|
||||
scope: 'server',
|
||||
//clientId: '1',
|
||||
username: 'admin',
|
||||
password: 'YehdBPev'
|
||||
password: 'YehdBPev',
|
||||
|
||||
});
|
||||
if (response.access_token) {
|
||||
uni.setStorageSync('token', response.access_token)
|
||||
|
||||
Reference in New Issue
Block a user