|
@@ -41,6 +41,8 @@ class BaseController extends Controller |
|
@@ -41,6 +41,8 @@ class BaseController extends Controller |
|
41
|
$this->manage = $info;
|
41
|
$this->manage = $info;
|
|
42
|
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
|
42
|
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
|
|
43
|
$this->uid = $info['id'];
|
43
|
$this->uid = $info['id'];
|
|
|
|
44
|
+ //写入操作记录
|
|
|
|
45
|
+
|
|
44
|
}
|
46
|
}
|
|
45
|
}
|
47
|
}
|
|
46
|
|
48
|
|
|
@@ -124,4 +126,5 @@ class BaseController extends Controller |
|
@@ -124,4 +126,5 @@ class BaseController extends Controller |
|
124
|
$response = response($result,$result_code,$this->header);
|
126
|
$response = response($result,$result_code,$this->header);
|
|
125
|
throw new HttpResponseException($response);
|
127
|
throw new HttpResponseException($response);
|
|
126
|
}
|
128
|
}
|
|
|
|
129
|
+
|
|
127
|
} |
130
|
} |