| | |
| | | String hashEnd = env.getProperty("dy.webFile.sv" + i + ".hashEnd"); |
| | | String restUrl = env.getProperty("dy.webFile.sv" + i + ".restUrl"); |
| | | String webUrl = env.getProperty("dy.webFile.sv" + i + ".webUrl"); |
| | | String webDownloadUrl = env.getProperty("dy.webFile.sv" + i + ".webDownloadUrl"); |
| | | String webDownloadPath = env.getProperty("dy.webFile.sv" + i + ".webDownloadPath"); |
| | | if(!NumUtil.isPlusIntNumber(hashStart)){ |
| | | throw new Exception("配置dy.webFile.sv" + i + ".hashStart 不是整数") ; |
| | | } |
| | |
| | | relativePath, |
| | | restUrl, |
| | | webUrl, |
| | | webDownloadUrl, |
| | | webDownloadPath, |
| | | Integer.parseInt(hashStart), |
| | | Integer.parseInt(hashEnd))) ; |
| | | } |