feat: bff resp string to json
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user