This commit is contained in:
2023-11-03 15:48:53 +08:00
parent 2fcbd1a72c
commit f08893bff5
2 changed files with 58 additions and 16 deletions
-8
View File
@@ -263,14 +263,6 @@ func (r *OrderInquiry) GetOrderInquiryForAccountPage(c *gin.Context) {
req.PageSize = 20
}
doctorId := c.Param("doctor_id")
if doctorId == "" {
responses.FailWithMessage("缺少参数", c)
return
}
req.DoctorId = doctorId
orderInquiryDao := dao.OrderInquiryDao{}
orderInquiry, total, err := orderInquiryDao.GetOrderInquiryForAccountPageSearch(req, req.Page, req.PageSize)
if err != nil {