all() as $key => $value) { Config::query()->where('name', $key)->update(['value' => $value]); } Cache::flush(); return $this->success('保存成功'); } }