temp
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package IVYZ
|
||||
|
||||
import (
|
||||
xhttp "github.com/zeromicro/x/http"
|
||||
"net/http"
|
||||
"tianyuan-api/pkg/response"
|
||||
|
||||
@@ -14,10 +15,9 @@ func IVYZ5733Handler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
var req types.Request
|
||||
if err := httpx.Parse(r, &req); err != nil {
|
||||
response.Fail(r.Context(), w, err)
|
||||
xhttp.JsonBaseResponseCtx(r.Context(), w, err)
|
||||
return
|
||||
}
|
||||
|
||||
l := IVYZ.NewIVYZ5733Logic(r.Context(), svcCtx)
|
||||
resp, err := l.IVYZ5733(&req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user