zero il y a 2 jours
Parent
commit
ec52b1ee53

+ 4 - 3
src/main/java/com/cslg/ppa/service/commom/WeChatLoginCheckService.java

@@ -34,8 +34,8 @@ public class WeChatLoginCheckService {
     private final FileManagerService fileManagerService;
     @Value("${FileDownloadUrl}")
     private String fileDownloadUrl;
-    @Value("${PPAUrl}")
-    private String PPAUrl;
+    @Value("${PPAProdUrl}")
+    private String PPAProdUrl;
     @Value("${Email.account}")
     private String account;
 
@@ -56,7 +56,8 @@ public class WeChatLoginCheckService {
         }
         log.warn("微信登录凭证已失效,准备发送登录二维码邮件...");
         MailMessageDTO messageDTO = new MailMessageDTO();
-        messageDTO.setUrl(PPAUrl + "/api/xiaoshi/ppa/articleInfo/sendQRCodeByEmail");
+        messageDTO.setUrl(PPAProdUrl + "/api/xiaoshi/ppa/articleInfo/sendQRCodeByEmail");
+//        messageDTO.setUrl("http://sh.frp.one:39804/api/xiaoshi/ppa/articleInfo/sendQRCodeByEmail");
 //        messageDTO.setUrl("http://192.168.2.107:8099/api/xiaoshi/ppa/articleInfo/sendQRCodeByEmail");
         messageDTO.setEmail(account);
         emailService.sendEmail(messageDTO);

+ 1 - 0
src/main/resources/application-dev.yml

@@ -64,6 +64,7 @@ authorUrl: http://192.168.2.24:8871
 PCSUrl: http://192.168.2.24:8871
 FMSUrl: http://192.168.2.24:8803
 PPAUrl: http://192.168.2.24:8099
+PPAProdUrl: http://sh.frp.one:39804
 FileDownloadUrl: http://192.168.2.24:8803/fileManager/downloadFile?fileId=
 FileSource: 1
 DIFY: