-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lostFound & suit):修复了失物招领 API 中的类型问题和正装的页面的 CSS
- Loading branch information
1 parent
d30f8ac
commit 5e58aa5
Showing
8 changed files
with
122 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,48 @@ | ||
declare namespace LostfoundAPI { | ||
interface Item { | ||
id: number; | ||
|
||
/** 类型, false: 寻物启事, true: 失物招领 */ | ||
type: boolean; | ||
|
||
/** 物品名称 */ | ||
item_name: string; | ||
|
||
/** 校区 */ | ||
campus: string; | ||
|
||
/** 物品分类 */ | ||
kind: string; | ||
|
||
/** 公布时间 */ | ||
publish_time: string; | ||
/** 类型, false: 丢失, true: 招领 */ | ||
type: boolean; | ||
/** 是否已处理 */ | ||
is_processed: boolean; | ||
/** 内容 */ | ||
content: string; | ||
publisher: string; | ||
|
||
/** 物品介绍 */ | ||
introduction: string; | ||
|
||
/** 遗失/拾得时间 */ | ||
lost_or_found_time: string; | ||
|
||
/** 遗失/拾得地点 */ | ||
lost_or_found_place: string; | ||
|
||
img1: null | string; | ||
img2: null | string; | ||
img3: null | string; | ||
} | ||
|
||
/** 寻物启事 */ | ||
interface FoundItem extends Item { | ||
/** 联系方式 */ | ||
contact: string; | ||
|
||
/** 发布组织 */ | ||
publisher: string; | ||
} | ||
|
||
/** 失物招领 */ | ||
interface LostItem extends Item { | ||
/** 领取地点 */ | ||
pickup_place: string; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters