package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/goodsCenter/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/goodsCenter/rpc/pb" "github.com/zeromicro/go-zero/core/logx" ) type GoodsFunctionAddLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGoodsFunctionAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GoodsFunctionAddLogic { return &GoodsFunctionAddLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 添加商品功能 func (l *GoodsFunctionAddLogic) GoodsFunctionAdd(in *pb.GoodsFunctionAddReq) (*pb.StatusResp, error) { // todo: add your logic here and delete this line return &pb.StatusResp{}, nil }