package logic import ( "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/config" "context" "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb" "bp.jydev.jianyu360.cn/BaseService/biService/service" "github.com/zeromicro/go-zero/core/logx" ) type DistributeClueShowLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewDistributeClueShowLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DistributeClueShowLogic { return &DistributeClueShowLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *DistributeClueShowLogic) DistributeClueShow(in *pb.DistributeClueShowReq) (*pb.DistributeClueShowResp, error) { // todo: add your logic here and delete this line return service.DistributeClueShow(in, config.IC.AllocationCap), nil }