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
+3 -4
View File
@@ -1,5 +1,4 @@
// Code generated by goctl. DO NOT EDIT.
// goctl 1.10.1
// Source: product.proto
package server
@@ -23,17 +22,17 @@ func NewProductServer(svcCtx *svc.ServiceContext) *ProductServer {
}
}
func (s *ProductServer) Add(ctx context.Context, in *product.AddReq) (*product.AddResp, error) {
func (s *ProductServer) Add(ctx context.Context, in *product.AddReq) (*product.Response, error) {
l := logic.NewAddLogic(ctx, s.svcCtx)
return l.Add(in)
}
func (s *ProductServer) Edit(ctx context.Context, in *product.EditReq) (*product.EditResp, error) {
func (s *ProductServer) Edit(ctx context.Context, in *product.EditReq) (*product.Response, error) {
l := logic.NewEditLogic(ctx, s.svcCtx)
return l.Edit(in)
}
func (s *ProductServer) Items(ctx context.Context, in *product.ItemsReq) (*product.ItemsResp, error) {
func (s *ProductServer) Items(ctx context.Context, in *product.ItemsReq) (*product.Response, error) {
l := logic.NewItemsLogic(ctx, s.svcCtx)
return l.Items(in)
}