fix: user的createdAt还是补充上

This commit is contained in:
dayjoy
2025-10-13 10:47:57 +08:00
parent 97bd5d013b
commit defe5ac49b
3 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,8 @@ export class GroupController extends Controller {
nimToken: 'nim_token_123',
nimAccountId: 'nim_account_123',
token: 'user_token_123',
updatedAt: '2024-01-01 00:00:00',
createdAt: '2024-01-01 00:00:00',
},
],
})

View File

@@ -28,6 +28,8 @@ export class UserController extends Controller {
nimToken: 'nim_token_123',
nimAccountId: 'nim_account_123',
token: 'user_token_123',
updatedAt: '2024-01-01 00:00:00',
createdAt: '2024-01-01 00:00:00',
}
})
public async getUserGroupInfo(@Request() req: ExpressRequest): Promise<ApiResponse<Omit<UserInfo, 'token'>>> {

View File

@@ -6,4 +6,6 @@ export interface UserInfo {
nimToken: string; // NetEase Cloud Communication token
nimAccountId: string; // NetEase Cloud Communication account ID
token: string; // Authentication token
updatedAt: string; // yyyy-MM-dd HH:mm:ss
createdAt: string; // yyyy-MM-dd HH:mm:ss
}