|
|
@ -398,11 +398,10 @@ class AutoPackController extends Think
|
|
|
|
$updata['savename'] = $newname;
|
|
|
|
$updata['savename'] = $newname;
|
|
|
|
$updata['path'] = $new_to;
|
|
|
|
$updata['path'] = $new_to;
|
|
|
|
$result = $this -> upload_game_pak_oss($updata);
|
|
|
|
$result = $this -> upload_game_pak_oss($updata);
|
|
|
|
@unlink($new_to);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($result) {
|
|
|
|
if ($result) {
|
|
|
|
if (file_exists($localPath)) {
|
|
|
|
if (file_exists($new_to)) {
|
|
|
|
unlink($localPath);
|
|
|
|
@unlink($new_to);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} elseif (get_tool_status("qiniu_storage") == 1) {
|
|
|
|
} elseif (get_tool_status("qiniu_storage") == 1) {
|
|
|
|