API接口-authtoken、redis
This commit is contained in:
@@ -13,6 +13,7 @@ export const useAdminInfo = defineStore('adminInfo', {
|
||||
token: '',
|
||||
refresh_token: '',
|
||||
super: false,
|
||||
channel_id: 0,
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
@@ -113,6 +113,8 @@ export interface AdminInfo {
|
||||
refresh_token: string
|
||||
// 是否是 superAdmin,用于判定是否显示终端按钮等,不做任何权限判断
|
||||
super: boolean
|
||||
// 渠道ID(创建子管理员时默认绑定)
|
||||
channel_id?: number
|
||||
}
|
||||
|
||||
export interface UserInfo {
|
||||
|
||||
Reference in New Issue
Block a user