dev: hotfix, doctor getdetail

This commit is contained in:
2025-12-02 09:34:51 +07:00
parent 941e3e2319
commit 5aa558e189
5 changed files with 25 additions and 8 deletions
@@ -38,6 +38,7 @@ func (obj myBase) GetDetail(w http.ResponseWriter, r *http.Request) {
return
}
dto := e.ReadDetailDto{}
sf.UrlQueryParam(&dto, *r.URL)
dto.Code = &code
res, err := u.ReadDetail(dto)
rw.DataResponse(w, res, err)