去掉本地vpn设置
This commit is contained in:
@@ -679,9 +679,6 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
|||||||
log.info("开始执行toProductAsyncTask - model: {}, imagePath: {}, prompt: {}",
|
log.info("开始执行toProductAsyncTask - model: {}, imagePath: {}, prompt: {}",
|
||||||
useModel, 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)){
|
if (StringUtil.isNullOrEmpty(imagePath)||StringUtil.isNullOrEmpty(useModel)||StringUtil.isNullOrEmpty(prompt)){
|
||||||
log.error("参数验证失败 - imagePath: {}, useModel: {}, prompt: {}", imagePath, useModel, prompt);
|
log.error("参数验证失败 - imagePath: {}, useModel: {}, prompt: {}", imagePath, useModel, prompt);
|
||||||
throw new BusinessException("Parameter Exception");
|
throw new BusinessException("Parameter Exception");
|
||||||
|
|||||||
Reference in New Issue
Block a user