更新
This commit is contained in:
@@ -106,7 +106,7 @@ class Index extends Base {
|
||||
*/
|
||||
public function clear() {
|
||||
if ($this->request->isPost()) {
|
||||
$clear = input('post.clear/a', array());
|
||||
$clear = $this->request->param('clear', []);
|
||||
foreach ($clear as $key => $value) {
|
||||
if ($value == 'cache') {
|
||||
\think\facade\Cache::clear(); // 清空缓存数据
|
||||
|
||||
Reference in New Issue
Block a user