bianjunhui 2 年 前
コミット
59afad516e
1 ファイル変更6 行追加0 行削除
  1. 6 0
      application/common/model/Jwttoken.php

+ 6 - 0
application/common/model/Jwttoken.php

@@ -46,6 +46,12 @@ class Jwttoken
                 'msg'    => $e->getMessage()
             ];
             exit;
+        }  catch (\DomainException $e) {
+            return [
+                'status' => 10002,
+                'msg'    => $e->getMessage()
+            ];
+            exit;
         } catch (\InvalidArgumentException $e) {
             return [
                 'status' => 10002,