Commit a8b0bed9 authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充类型

parent 56729d00
......@@ -2,10 +2,14 @@ import { isDev } from '@/constants'
import { GetMemberLoginRegetResponse } from '@/services/memberApi'
export interface AuthInfo {
userId: number,
memberId: number,
name: string,
token: string,
userId?: number,
memberId?: number,
name?: string,
token?: string,
company?: string,
validateMsg?: string,
validateStatus?: number,
validateStatusDesc?: string,
}
export const setAuth = (info: AuthInfo) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment