mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】优化缓存删除提示
This commit is contained in:
parent
ece3d8f538
commit
5d2c73fc90
@ -27,7 +27,7 @@ class SystemCity extends AuthController
|
||||
* 构造方法
|
||||
* SystemCity constructor.
|
||||
* @param App $app
|
||||
* @param SystemStoreServices $services
|
||||
* @param SystemCityServices $services
|
||||
*/
|
||||
public function __construct(App $app, SystemCityServices $services)
|
||||
{
|
||||
@ -133,8 +133,7 @@ class SystemCity extends AuthController
|
||||
*/
|
||||
public function clean_cache()
|
||||
{
|
||||
$res = CacheService::delete('tree_city_list');
|
||||
$res = $res && CacheService::delete('CITY_LIST');
|
||||
$res = CacheService::delete('CITY_LIST');
|
||||
if ($res) {
|
||||
return app('json')->success(400185);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user