feat: 优化页面 UI 以及支持个人中心 练习足迹
This commit is contained in:
@@ -42,6 +42,12 @@ export class BookingController {
|
||||
return this.bookingService.cancelBooking(userId, id)
|
||||
}
|
||||
|
||||
@Get('booking/my/activity')
|
||||
@UseGuards(JwtAuthGuard)
|
||||
async getPracticeActivity(@CurrentUser('sub') userId: string) {
|
||||
return this.bookingService.getPracticeActivity(userId)
|
||||
}
|
||||
|
||||
@Get('booking/my/upcoming')
|
||||
@UseGuards(JwtAuthGuard)
|
||||
async getUpcomingBookings(@CurrentUser('sub') userId: string) {
|
||||
|
||||
Reference in New Issue
Block a user