feat: bff resp string to json
CI / changes (push) Successful in 1s
CI / docker-bff (push) Successful in 1s
CI / docker-product (push) Failing after 1s

This commit is contained in:
zzw
2026-08-07 11:57:43 +08:00
parent cf49ec56c7
commit 39fb09e7df
9 changed files with 192 additions and 188 deletions
+5 -3
View File
@@ -6,6 +6,8 @@ import (
"product/internal/svc"
"product/product"
"pkg.local/utils"
"github.com/zeromicro/go-zero/core/logx"
)
@@ -23,8 +25,8 @@ func NewEditLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EditLogic {
}
}
func (l *EditLogic) Edit(in *product.EditReq) (*product.EditResp, error) {
func (l *EditLogic) Edit(in *product.EditReq) (*product.Response, error) {
// todo: add your logic here and delete this line
return &product.EditResp{}, nil
_ = in
return okResponse(utils.StringEmpty), nil
}