From f5b0469f116f41d4343a74ec29909bd9483a64e4 Mon Sep 17 00:00:00 2001 From: RogerLi Date: Sun, 16 Jun 2024 00:19:47 +0800 Subject: [PATCH] doc: update swagger --- src/swagger/definition/group/general.ts | 29 ++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/src/swagger/definition/group/general.ts b/src/swagger/definition/group/general.ts index 8061c7e..f883df4 100644 --- a/src/swagger/definition/group/general.ts +++ b/src/swagger/definition/group/general.ts @@ -10,8 +10,8 @@ export const GroupItem = { movieTitle: '電影名稱', amount: 10, placeholderImg: 'imageUrl', - location: '信義威秀', - hasTicket: false, + theater: '信義威秀', + haveTicket: false, time: '2024-05-19', vacancy: 2, content: '參加參加', @@ -23,8 +23,9 @@ export const UserGroupItem = { movieTitle: '電影名稱', amount: 10, placeholderImg: 'imageUrl', - location: '信義威秀', - hasTicket: false, + theater: '信義威秀', + haveTicket: false, + status: 'ongoing', time: '2024-05-19', vacancy: 9, content: '參加參加', @@ -54,7 +55,25 @@ export const GetGroupDetailSuccess = { $status: CustomResponseType.OK, $message: CustomResponseType.OK_MESSAGE, $data: { - UserGroupItem, + $_id: 'asdfasdfasd', + title: '這是一個活動名稱', + movieTitle: '電影名稱', + amount: 10, + status: 'ongoing', + placeholderImg: 'imageUrl', + theater: '信義威秀', + haveTicket: false, + time: '2024-05-19', + vacancy: 9, + content: '參加參加', + participant: [ + { + userId: '123123aabb', + name: '阿明', + nickName: '小明', + lineId: '1234567', + }, + ], }, };