修正返回数据大小写问题
This commit is contained in:
@@ -198,4 +198,23 @@ func privateRouter(r *gin.Engine, api controller.Api) {
|
||||
// 修改岗位
|
||||
postGroup.PUT("/:post_id", api.Post.PutPost)
|
||||
}
|
||||
|
||||
// 医生管理
|
||||
doctorGroup := adminGroup.Group("/doctor")
|
||||
{
|
||||
// 获取医生列表-分页
|
||||
doctorGroup.GET("", api.Post.GetPostPage)
|
||||
|
||||
// 新增医生
|
||||
doctorGroup.POST("", api.Post.AddPost)
|
||||
|
||||
// 医生详情
|
||||
doctorGroup.GET("/:post_id", api.Post.GetPost)
|
||||
|
||||
// 删除医生-批量
|
||||
doctorGroup.DELETE("", api.Post.DeletePost)
|
||||
|
||||
// 修改医生
|
||||
doctorGroup.PUT("/:post_id", api.Post.PutPost)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user