[WIP] 下面请帮我参照 router 包下 routes/api 下的结构,在 functions 包下 functions/api 下设计对应的函数签名,并且两边接上;函数签名可以参照 functions/system/user.rs 下的做法,如果有 auth,最开始头一个�... #3
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.
Coding agent has begun work on 下面请帮我参照 router 包下 routes/api 下的结构,在 functions 包下 functions/api 下设计对应的函数签名,并且两边接上;函数签名可以参照 functions/system/user.rs 下的做法,如果有 auth,最开始头一个参数就一定是 auth,之后按 Path、Query 和 Json 的顺序依次扁平化传入参数;在这之后,基于 database 包下的 DB_CONN 尝试分别实现各个逻辑,遵循 router 包下最初对路由的定义行为 and will replace this description as work progresses.
See problem context
下面请帮我参照 router 包下 routes/api 下的结构,在 functions 包下 functions/api 下设计对应的函数签名,并且两边接上;函数签名可以参照 functions/system/user.rs 下的做法,如果有 auth,最开始头一个参数就一定是 auth,之后按 Path、Query 和 Json 的顺序依次扁平化传入参数;在这之后,基于 database 包下的 DB_CONN 尝试分别实现各个逻辑,遵循 router 包下最初对路由的定义行为