去掉本地vpn设置

This commit is contained in:
litianxiang
2025-10-09 15:23:12 +08:00
parent 5efa5cad33
commit 5fbcaf9077

View File

@@ -678,9 +678,6 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
long startTime = System.currentTimeMillis();
log.info("开始执行toProductAsyncTask - model: {}, imagePath: {}, prompt: {}",
useModel, imagePath, prompt);
System.setProperty("https.proxyHost", "127.0.0.1");
System.setProperty("https.proxyPort", "10809");
if (StringUtil.isNullOrEmpty(imagePath)||StringUtil.isNullOrEmpty(useModel)||StringUtil.isNullOrEmpty(prompt)){
log.error("参数验证失败 - imagePath: {}, useModel: {}, prompt: {}", imagePath, useModel, prompt);