package logic import ( "context" "backend/usercenter/rpc/internal/svc" "backend/usercenter/rpc/pb/usercenter" "github.com/zeromicro/go-zero/core/logx" ) type ChangePasswordLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic { return &ChangePasswordLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *ChangePasswordLogic) ChangePassword(in *usercenter.ChangePasswordRequest) (*usercenter.ChangePasswordResponse, error) { // todo: add your logic here and delete this line return &usercenter.ChangePasswordResponse{}, nil }