Skip to content

[Support] 请问如果有baseController,其他控制器比如userController,roleController继承baseController,那么增删改查的路由方法可以写在baseController中吗?以达到主要代码在baseController中,但是接口是/user/add,/role/add等效果吗? #4296

Answered by czy88840616
DannyWin asked this question in Q&A
Discussion options

You must be logged in to vote

3 月会开始 beta

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DannyWin
Comment options

@czy88840616
Comment options

Answer selected by DannyWin
@DannyWin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion
2 participants