protocol chemo finish

This commit is contained in:
vanilia
2025-12-12 13:48:34 +07:00
parent f5568dfc61
commit cfdfac223f
14 changed files with 261 additions and 120 deletions
@@ -81,11 +81,8 @@ func (obj myBase) Verify(w http.ResponseWriter, r *http.Request) {
}
dto := e.VerifyDto{}
if res := rw.ValidateStructByIOR(w, r.Body, &dto); !res {
return
}
dto.Id = uint(id)
authInfo, err := pa.GetAuthInfo(r)
if err != nil {
rw.WriteJSON(w, http.StatusUnauthorized, d.IS{"message": err.Error()}, nil)