package logic import ( "context" "lone-services/rpc/water/pb" "lone-services/services/water/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type ChangeAdminLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger BaseLogic } func NewChangeAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangeAdminLogic { return &ChangeAdminLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 转移管理人 func (l *ChangeAdminLogic) ChangeAdmin(in *water.ChangeAdminRequest) (*water.Response, error) { // todo: add your logic here and delete this line return &water.Response{}, nil }