zoujiajian 1 rok temu
rodzic
commit
fce469b758

+ 2 - 1
netflix-web/src/main/java/com/cyksj/web/controller/cps/CpsPopularizeController.java

@@ -121,7 +121,8 @@ public class CpsPopularizeController {
 				if ("cc".equals(data.getOtherUrl())) {
 					data.setPopularizeLink(String.format(Constant.DISTRIBUTE_CLAUDE_CODE_CC_URL, data.getCode()));
 				}
-			} else {
+			}
+			if (StrUtil.isEmpty(data.getPopularizeLink())) {
 				data.setPopularizeLink(String.format(envCommonService.DISTRIBUTE_DEFAULT_URL_PREFIX, data.getCode()));
 			}
 			Optional.ofNullable(goodsDonMapper.selectById(data.getGoodsId())).ifPresent(goods -> {