package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/biService/service" "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb" "github.com/zeromicro/go-zero/core/logx" ) type SqlManageLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewSqlManageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SqlManageLogic { return &SqlManageLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *SqlManageLogic) SqlManage(in *pb.SqlManageReq) (*pb.BiReply, error) { // todo: add your logic here and delete this line v := service.SqlService{} data := v.SqlManage(in) return &pb.BiReply{ Data: data, }, nil }