Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:新增失物招领接口 #22

Merged
merged 32 commits into from
Dec 16, 2024
Merged

feat:新增失物招领接口 #22

merged 32 commits into from
Dec 16, 2024

Conversation

Tim3088
Copy link
Collaborator

@Tim3088 Tim3088 commented Nov 26, 2024

No description provided.

@Tim3088 Tim3088 requested a review from Penryn November 26, 2024 05:25
@Tim3088 Tim3088 changed the base branch from main to dev November 26, 2024 05:26
config/router/router.go Outdated Show resolved Hide resolved
app/controllers/lostAndFoundController/update.go Outdated Show resolved Hide resolved
@Penryn Penryn force-pushed the dev branch 2 times, most recently from 87f3fb2 to 0df5413 Compare December 3, 2024 02:11
Copy link
Collaborator

@cbluebird cbluebird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 这个pr的message是错误的,应该是rerefactor
  2. 这个commit在下一次一起发就行了,不是很重要🤔

app/utils/converter.go Show resolved Hide resolved
app/controllers/lostAndFoundController/create.go Outdated Show resolved Hide resolved
app/services/lostAndFoundService/get.go Show resolved Hide resolved
app/models/lostAndFoundRecord.go Show resolved Hide resolved
- 将原有的手动拼接字符串逻辑替换为 strings.Join 函数
- 移除了 website 部分和 lostAndFound 部分之间的空行- 在 lostAndFound 部分内部添加了一个空行,以区分不同的路由定义块
- 删除了 lostAndFound 部分末尾的额外空行
- 移除 create.go 中 Imgs 字段的 required 校验
- 在 update.go 中为多个字段添加 required 校验
@cbluebird cbluebird merged commit bb86b60 into dev Dec 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants