fix: user的createdAt还是补充上
This commit is contained in:
@@ -62,6 +62,8 @@ export class GroupController extends Controller {
|
|||||||
nimToken: 'nim_token_123',
|
nimToken: 'nim_token_123',
|
||||||
nimAccountId: 'nim_account_123',
|
nimAccountId: 'nim_account_123',
|
||||||
token: 'user_token_123',
|
token: 'user_token_123',
|
||||||
|
updatedAt: '2024-01-01 00:00:00',
|
||||||
|
createdAt: '2024-01-01 00:00:00',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ export class UserController extends Controller {
|
|||||||
nimToken: 'nim_token_123',
|
nimToken: 'nim_token_123',
|
||||||
nimAccountId: 'nim_account_123',
|
nimAccountId: 'nim_account_123',
|
||||||
token: 'user_token_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'>>> {
|
public async getUserGroupInfo(@Request() req: ExpressRequest): Promise<ApiResponse<Omit<UserInfo, 'token'>>> {
|
||||||
|
|||||||
@@ -6,4 +6,6 @@ export interface UserInfo {
|
|||||||
nimToken: string; // NetEase Cloud Communication token
|
nimToken: string; // NetEase Cloud Communication token
|
||||||
nimAccountId: string; // NetEase Cloud Communication account ID
|
nimAccountId: string; // NetEase Cloud Communication account ID
|
||||||
token: string; // Authentication token
|
token: string; // Authentication token
|
||||||
|
updatedAt: string; // yyyy-MM-dd HH:mm:ss
|
||||||
|
createdAt: string; // yyyy-MM-dd HH:mm:ss
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user