adjustment detail division

This commit is contained in:
vanilia
2025-10-24 14:41:41 +07:00
parent fac331ca21
commit cdae478152
6 changed files with 91 additions and 16 deletions
@@ -37,7 +37,9 @@ func (obj myBase) GetDetail(w http.ResponseWriter, r *http.Request) {
if id <= 0 {
return
}
dto := e.ReadDetailDto{}
sf.UrlQueryParam(&dto, *r.URL)
dto.Id = uint16(id)
res, err := u.ReadDetail(dto)
rw.DataResponse(w, res, err)