Просмотр исходного кода

Merge branch 'master' into dev

bianjunhui 2 лет назад
Родитель
Сommit
03c5b9150f
1 измененных файлов с 6 добавлено и 1 удалено
  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();