git commit -m feat(projects): 对接后端登录接口

This commit is contained in:
2025-11-30 11:04:30 +08:00
parent b3fb87d850
commit 65640c8b71
16 changed files with 54 additions and 44 deletions

View File

@ -6,14 +6,14 @@ declare namespace Api {
*/
namespace Auth {
interface LoginToken {
token: string;
accessToken: string;
refreshToken: string;
}
interface UserInfo {
userId: string;
userName: string;
roles: string[];
id: string;
username: string;
authorities: string[];
buttons: string[];
}
}

View File

@ -628,9 +628,11 @@ declare namespace App {
/** The backend service response code */
code: string;
/** The backend service response message */
msg: string;
message: string;
/** The backend service response data */
data: T;
/** The backend service response timestamp */
timestamp: number;
};
/** The demo backend service response data */