This commit is contained in:
eson
2023-06-26 18:19:51 +08:00
parent 0afaed5089
commit d74d27ab2d
15 changed files with 377 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ func QuotationDetailHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return
}
var req types.Request
var req types.RequestQuotationId
// 如果端点有请求结构体则使用httpx.Parse方法从HTTP请求体中解析请求数据
if err := httpx.Parse(r, &req); err != nil {
httpx.OkJsonCtx(r.Context(), w, &basic.Response{