修正返回数据大小写问题

This commit is contained in:
2023-07-03 11:53:31 +08:00
parent 3a99ce1b58
commit 38094bf106
4 changed files with 26 additions and 7 deletions
+19
View File
@@ -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)
}
}