|
@@ -157,7 +157,7 @@ public class CuiQiuMailServiceImpl implements CuiQiuMailService {
|
|
|
if (goodsId == 1) {
|
|
if (goodsId == 1) {
|
|
|
if (type != null && type == 1) {
|
|
if (type != null && type == 1) {
|
|
|
String pre = "NetflixSans-Regular, Helvetica, Roboto, Segoe UI, sans-serif; font-weight";
|
|
String pre = "NetflixSans-Regular, Helvetica, Roboto, Segoe UI, sans-serif; font-weight";
|
|
|
- if (body.contains("輸入此代碼登入") || body.contains("输入此代码登录") || body.contains("Enter this code to sign in")) {
|
|
|
|
|
|
|
+ if (body.contains("輸入此代碼登入") || body.contains("输入此代码登录") || body.contains("Enter this code to sign in") || content.getSubject().contains("seu código de acesso")) {
|
|
|
code = StrUtil.subAfter(body, pre, false);
|
|
code = StrUtil.subAfter(body, pre, false);
|
|
|
if (StrUtil.isEmpty(code)) {
|
|
if (StrUtil.isEmpty(code)) {
|
|
|
code = StrUtil.subAfter(body, "font-weight: 400; color: #232323; padding-top: 20px;", true);
|
|
code = StrUtil.subAfter(body, "font-weight: 400; color: #232323; padding-top: 20px;", true);
|
|
@@ -165,6 +165,9 @@ public class CuiQiuMailServiceImpl implements CuiQiuMailService {
|
|
|
if (StrUtil.isEmpty(code)) {
|
|
if (StrUtil.isEmpty(code)) {
|
|
|
code = StrUtil.subAfter(body, "Enter this code to sign in", true);
|
|
code = StrUtil.subAfter(body, "Enter this code to sign in", true);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (StrUtil.isEmpty(code)) {
|
|
|
|
|
+ code = StrUtil.subAfter(body, "Informe este código para entrar", true);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if (StrUtil.isEmpty(code)) {
|
|
if (StrUtil.isEmpty(code)) {
|
|
|
throw BusinessRuntimeException.getInstance("查询失败,请检查是否发送了登陆码..");
|
|
throw BusinessRuntimeException.getInstance("查询失败,请检查是否发送了登陆码..");
|