作者 lyh

gx

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