Skip to content

Commit

Permalink
doc: update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger13579 committed Jun 15, 2024
1 parent aba961e commit f5b0469
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions src/swagger/definition/group/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '參加參加',
Expand All @@ -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: '參加參加',
Expand Down Expand Up @@ -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',
},
],
},
};

Expand Down

0 comments on commit f5b0469

Please sign in to comment.