bianjunhui 2 년 전
부모
커밋
048e949193
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();