feat: 对网络请求的调整优化处理

This commit is contained in:
2025-07-22 22:33:27 +08:00
parent e6b9407e69
commit bad3b2987d
8 changed files with 99 additions and 121 deletions

View File

@@ -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)