فهرست منبع

fix 奈飞登录码

zoujiajian 8 ماه پیش
والد
کامیت
86d8172aaf
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      netflix-service/src/main/java/com/cyksj/service/mail/impl/CuiQiuMailServiceImpl.java

+ 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)) {