Parcourir la source

fix 奈飞登录码

zoujiajian il y a 8 mois
Parent
commit
86d8172aaf

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/mail/impl/CuiQiuMailServiceImpl.java

@@ -160,10 +160,10 @@ public class CuiQiuMailServiceImpl implements CuiQiuMailService {
 				if (body.contains("輸入此代碼登入") || body.contains("输入此代码登录") || body.contains("Enter this code to sign in")) {
 					code = StrUtil.subAfter(body, pre, false);
 					if (StrUtil.isEmpty(code)) {
-						code = StrUtil.subAfter(body, "Enter this code to sign in", true);
+						code = StrUtil.subAfter(body, "font-weight: 400; color: #232323; padding-top: 20px;", true);
 					}
 					if (StrUtil.isEmpty(code)) {
-						code = StrUtil.subAfter(body, "font-weight: 400; color: #232323; padding-top: 20px;", true);
+						code = StrUtil.subAfter(body, "Enter this code to sign in", true);
 					}
 				}
 				if (StrUtil.isEmpty(code)) {