Commit bb36bd37 authored by jiangyipeng's avatar jiangyipeng

Merge branch 'master' of gitlab.linanquan.com:jiangyipeng/doc_phone

parents a153d7de 1050492f
......@@ -60,7 +60,6 @@ class Index extends Controller
$this->removeToken($userid, $client);
// 设置新的token
$rs = cache('token_'.$token, $token, $expireSecond);
$t=cache('token_'.$token);
if ($rs) {
// 设置我的新缓存记录
$record = cache('token_'.$userid);
......@@ -125,7 +124,7 @@ class Index extends Controller
public function getUserToken($uid, $client)
{
$tokens = cache('token_'.$uid);
var_dump($tokens);
//var_dump($tokens);
$tokens = json_decode($tokens, true);
if (empty($tokens)) {
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment