Repository navigation
收款人和站长可以改赞助是否显示金额 - #342
Merged
Merged
Conversation
本人点错了也能找收款人改,和改是否匿名一样:改成显示前先确认是本人的意思,改动记操作日志。
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本人登记时点错了「在感谢墙上显示金额」,除了自己去「我的赞助」改,也可以找收款人改,和改是否匿名一样。
PATCH /admin/sponsorships/{id}多一个可选的show_amount,变了的记进操作日志。docs/api.md和总体设计 §8.21。对调用方:只多了一个可选字段,不影响已有的调用。
验证:
pnpm check全部通过,routes.test.ts里改是否匿名的测试同时改是否显示金额,检查感谢墙上的金额。