lizhen hai 1 semana
pai
achega
3ea8e69347
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/common/library/token/driver/Mysql.php

+ 1 - 1
application/common/library/token/driver/Mysql.php

@@ -67,7 +67,7 @@ class Mysql extends Driver
     public function get($token)
     {
         //方便测试
-        if(strpos($token,'testuid_') !== false && config('api_exception') === true){
+        if(strpos($token,'testuid_') !== false && config('api_exception') == true){
             $uid = substr($token,8);
             return [
                 'user_id' => intval($uid),