You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pdd-order-api/app/libs/exception/UnauthorizedException.php

13 lines
290 B
PHP

<?php
namespace Exception;
class UnauthorizedException extends BaseRuntimeException {
protected $errorCode = \ErrorCodeConst::systemUnauthorized;
public function getExtendData() {
return [
'redirectUrl' => \CommonTool::getAuthUrl(),
];
}
}