package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/pb" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/service" "github.com/zeromicro/go-zero/core/logx" ) type AddUsePersonLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewAddUsePersonLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddUsePersonLogic { return &AddUsePersonLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *AddUsePersonLogic) AddUsePerson(in *pb.AddUsePersonReq) (*pb.AddUsePersonResp, error) { // todo: add your logic here and delete this line return service.AddUsePerson(in), nil }