feat: 登录逻辑调整

This commit is contained in:
duanshuwen
2025-12-27 22:49:14 +08:00
parent ea56695099
commit 56ad450731
10 changed files with 93 additions and 75 deletions

View File

@@ -1,11 +1,11 @@
import { getCurrentConfig } from "@/constant/base";
import { useAppStore } from "@/store";
import { getStorageSyncToken } from "@/constant/token";
import { getAccessToken } from "@/constant/token";
export const updateImageFile = (file) => {
const { serverConfig } = useAppStore();
const url = serverConfig.baseUrl + "/hotelBiz/hotBizCommon/upload";
const token = getStorageSyncToken();
const token = getAccessToken();
const clientId = getCurrentConfig().clientId;
return new Promise((resolve, reject) => {