Merge pull request '优化' (#601) from feature/upgrade_pack into master_out_qy

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/601
master
廖金灵 3 years ago
commit a1ba918e60

@ -242,7 +242,7 @@ class GameSourceService {
} }
if ($this->isRemoteFile($file)) { if ($this->isRemoteFile($file)) {
$urlInfo = parse_url($file); $urlInfo = parse_url($file);
$objectName = trim('/', $urlInfo['path']); $objectName = trim($urlInfo['path'], '/');
$this->deletePackage($objectName); $this->deletePackage($objectName);
} else { } else {
$olderPackage = ROOTTT . substr($file, 2); $olderPackage = ROOTTT . substr($file, 2);

Loading…
Cancel
Save