Ver código fonte

提交接口中英文切换

zhangding 5 anos atrás
pai
commit
ac3d95b21f

+ 1 - 1
dgtly-member/dgtly-member-common/src/main/java/com/dgtly/notice/service/impl/NoticeSupplyServiceImpl.java

@@ -107,7 +107,7 @@ public class NoticeSupplyServiceImpl implements INoticeSupplyService
         //供应标题信息
         String supplyTitle = noticeSupply.getSupplyTitle();
         if (StringUtils.isNotEmpty(supplyTitle)){
-            noticeSupply.setSupplyDetailsEn(TranslateUtil.getEnTranslateInfo(supplyTitle));
+            noticeSupply.setSupplyTitleEn(TranslateUtil.getEnTranslateInfo(supplyTitle));
         }
         //供应信息详情
         String supplyDetails = noticeSupply.getSupplyDetails();