|
...
|
...
|
@@ -39,7 +39,7 @@ class BaseController extends Controller |
|
|
|
$info = Cache::get(Common::MANAGE_TOKEN . $this->token);
|
|
|
|
if(!empty($this->token) && !empty($info)){
|
|
|
|
$this->manage = $info;
|
|
|
|
Cache::put($this->token, $info, 3600 * 12);//更新缓存时间
|
|
|
|
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
|
|
|
|
$this->uid = $info['id'];
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|