系统设置
This commit is contained in:
@@ -5,6 +5,7 @@ namespace app\admin\service;
|
||||
use app\admin\validate\SysConfigValidate;
|
||||
use app\common\traits\crud\CrudServiceTrait;
|
||||
use app\common\model\SysConfig;
|
||||
use support\Redis;
|
||||
use support\Request;
|
||||
|
||||
class SysConfigService
|
||||
@@ -73,4 +74,10 @@ class SysConfigService
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
|
||||
public function beforeServiceUpdate($data, Request $request)
|
||||
{
|
||||
Redis::del($data['config_key']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user