main
黄海 6 months ago
parent dcecf86b8b
commit ccc2e26bae

@ -33,7 +33,7 @@ public class MysqlRestoreService {
*/
public void restore(String obsKey) {
String tempDir = System.getProperty("java.io.tmpdir");
String zipFile = tempDir + File.separator + new File(obsKey).getName();
String zipFile = tempDir + obsKey;
String sqlFile = null;
try {
// 1. 从OBS下载ZIP文件

Loading…
Cancel
Save