package logic import ( IC "bp.jydev.jianyu360.cn/BaseService/jyCodeService/rpc/codeservice/init" "context" "bp.jydev.jianyu360.cn/BaseService/jyCodeService/rpc/codeservice/internal/svc" codeservice "bp.jydev.jianyu360.cn/BaseService/jyCodeService/rpc/codeservice/pb" "github.com/zeromicro/go-zero/core/logx" ) type CodeTransformationLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewCodeTransformationLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CodeTransformationLogic { return &CodeTransformationLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *CodeTransformationLogic) CodeTransformation(in *codeservice.Request) (*codeservice.Response, error) { // todo: add your logic here and delete this line logx.Info("代码表获取") logx.Info(IC.CODEAREA) logx.Info("Area", IC.PushMapping.Area) logx.Info("City", IC.PushMapping.City) logx.Info("Buyerclass", IC.PushMapping.Buyerclass) logx.Info("Subscopeclass", IC.PushMapping.Subscopeclass) logx.Info("Subtype", IC.PushMapping.Subtype) return &codeservice.Response{}, nil }