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