feat (vclaim-sep-control-letter): add delete and detail by control letter number

This commit is contained in:
dpurbosakti
2025-12-15 13:14:59 +07:00
parent 44b37e2d49
commit a87eed7eaa
8 changed files with 260 additions and 174 deletions
@@ -434,7 +434,9 @@ func SetRoutes() http.Handler {
})
hk.GroupRoutes("/v1/vclaim-sep-control-letter", r, hk.MapHandlerFunc{
"POST /": vclaimsepcontrolletter.O.Create,
"POST /": vclaimsepcontrolletter.O.Create,
"GET /{number}": vclaimsepcontrolletter.O.GetDetail,
"DELETE /{number}": vclaimsepcontrolletter.O.Delete,
})
hk.GroupRoutes("/v1/vclaim-sep-hist", r, hk.MapHandlerFunc{