修改数据备份

This commit is contained in:
wuyanwen
2020-01-21 17:43:09 +08:00
parent dfd0be23c6
commit a719129b64
2 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ class DataDictionary extends CatchController
public function backup(): \think\response\Json
{
try {
Console::call('backup:data', [trim(implode(',', \request()->post('data')), ',')]);
Console::call('backup:data', [trim(implode(',', \request()->post('data')), ','), '-z']);
}catch (\Exception $e) {
throw new FailedException($e->getMessage());
}