!31 【轻量级 PR】新增全局请求头 clientid 适配后端 token 校验

Merge pull request !31 from MichelleChung/ts
This commit is contained in:
MichelleChung
2023-07-24 11:22:20 +00:00
committed by 疯狂的狮子Li
parent f801f4fb11
commit acbdfc4639
5 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { LoginData, LoginResult, VerifyCodeResult, TenantInfo } from './types';
import { UserInfo } from '@/api/system/user/types';
// pc端固定客户端授权id
const clientId = 'e5cd7e4891bf95d1d19206ce24a7b32e';
const clientId = import.meta.env.VITE_APP_CLIENT_ID;
/**
* @param data {LoginData}