package logic import ( "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 AutoFollowLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewAutoFollowLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AutoFollowLogic { return &AutoFollowLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *AutoFollowLogic) AutoFollow(in *pb.CallReq) (*pb.ClueImportResp, error) { // todo: add your logic here and delete this line return service.AutoFollow(in), nil }