本地分包删除

master
chenxiaojun 5 years ago
parent 57f1929bf9
commit 1f1954e9f1

@ -366,7 +366,7 @@ class AutoPackController extends Think
$new_name = "game_package" . $value['game_id'] . "-" . $value['promote_id'] . $str_ver;
$to = "./Uploads/" . $file_name . "/" . $new_name;
$localPath = ROOTTT . ltrim($to, './');
copy(get_game_source_file_url($value['game_id']), ROOTTT . ltrim($to, './'));
copy(get_game_source_file_url($value['game_id']), $localPath);
$zip_res = $zip -> open(ROOTTT . ltrim($to, './'), \ZipArchive::CREATE);
if ($zip_res == true) {
#打包数据

Loading…
Cancel
Save