|
|
@ -160,9 +160,9 @@ class AdminUser extends BaseController |
|
|
#if (!$result['status']) return $this->renderError('清除失败'); |
|
|
#if (!$result['status']) return $this->renderError('清除失败'); |
|
|
|
|
|
|
|
|
# 清空<-- replace 暂时隐藏 --> |
|
|
# 清空<-- replace 暂时隐藏 --> |
|
|
// foreach ($tablesNameArr as $tableName) { |
|
|
foreach ($tablesNameArr as $tableName) { |
|
|
// Db::query("TRUNCATE TABLE {$tableName}"); |
|
|
Db::query("TRUNCATE TABLE {$tableName}"); |
|
|
// } |
|
|
} |
|
|
|
|
|
|
|
|
// 清空缓存 |
|
|
// 清空缓存 |
|
|
$login_user_data = Cache::store('redis')->get('login_user_data'); |
|
|
$login_user_data = Cache::store('redis')->get('login_user_data'); |
|
|
|