package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb" "bp.jydev.jianyu360.cn/BaseService/userCenter/service" "github.com/zeromicro/go-zero/core/logx" ) type UserUpdateLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewUserUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserUpdateLogic { return &UserUpdateLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 更新用户 func (l *UserUpdateLogic) UserUpdate(in *pb.UserIdReq) (*pb.ExamineResp, error) { // todo: add your logic here and delete this line return service.UserUpdate(in), nil }