perf: adjust the return value of the interface to obtain user information in array format #259

This commit is contained in:
vben
2021-02-13 09:16:36 +08:00
parent 993538de21
commit 589409305f
8 changed files with 60 additions and 45 deletions

View File

@@ -31,7 +31,7 @@ export interface LoginResultModel {
* @description: Get user information return value
*/
export interface GetUserInfoByUserIdModel {
role: RoleInfo;
roles: RoleInfo[];
// 用户id
userId: string | number;
// 用户名