修改路由

This commit is contained in:
2023-09-04 13:08:52 +08:00
parent 7826652e11
commit a4f4e774f9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type UserDoctor struct{}
// GetMultiDoctor 获取多点执业医生详情
func (r *UserDoctor) GetMultiDoctor(c *gin.Context) {
req := v1.UserDoctorRequest{}
if err := c.ShouldBindJSON(&req.GetMultiDoctor); err != nil {
if err := c.ShouldBind(&req.GetMultiDoctor); err != nil {
responses.FailWithMessage(err.Error(), c)
return
}