1234567891011121314151617 |
- <?php
- namespace ln\exceptions;
- use think\exception\HttpResponseException;
- class AuthException extends HttpResponseException
- {
- public function __construct($message, $code = 40000)
- {
- parent::__construct(app('json')->make($code, $message));
- }
- }
|