Browse Source

Merge branch 'master' into dev

bianjunhui 3 năm trước cách đây
mục cha
commit
03c5b9150f

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

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