revised lib and usecase update

This commit is contained in:
vanilia
2025-10-14 13:35:48 +07:00
parent fce7cfaf7b
commit 1b1f641c2c
5 changed files with 9 additions and 14 deletions
@@ -36,7 +36,9 @@ func (obj myBase) GetDetail(w http.ResponseWriter, r *http.Request) {
if id <= 0 {
return
}
dto := eir.ReadDetailDto{}
sf.UrlQueryParam(&dto, *r.URL)
dto.Id = uint16(id)
res, err := uir.ReadDetail(dto)
rw.DataResponse(w, res, err)