bianjunhui 2 lat temu
rodzic
commit
048e949193
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6 1
      application/api/controller/Raffle.php

+ 6 - 1
application/api/controller/Raffle.php

@@ -36,7 +36,12 @@ class Raffle extends Api
         $info =$jwt->verifyJwt($token);
         if($info['status']!=0){
             $msg =$info['msg'];
-            $this->error($msg);
+            if($info['status']==1003){
+                $this->error($msg,'',-1);
+            }else{
+                $this->error($msg);
+            }
+
         }
         $this->userInfo=$info['info'];
         parent::_initialize();