|
@@ -19,8 +19,6 @@ class AppServiceProvider extends ServiceProvider
|
|
|
Validator::extend('mobile', function ($attribute, $value, $parameters) {
|
|
|
return preg_match('/^1[3456789]{1}\d{9}$/', $value);
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
app('Dingo\Api\Exception\Handler')->register(function (\Tymon\JWTAuth\Exceptions\JWTException $e) {
|
|
|
|
|
|
if ($e instanceof TokenExpiredException) {
|