|
|
@@ -52,7 +52,7 @@ public class CuiQiuMailServiceImpl implements CuiQiuMailService {
|
|
|
//PS 验证码官方
|
|
|
private final static String PS_ADOBE = "Adobe";
|
|
|
|
|
|
- private final static String DISNEY = "Disney+";
|
|
|
+ private final static String DISNEY = "Disney";
|
|
|
|
|
|
private final static String NETFLIX = "Netflix";
|
|
|
|
|
|
@@ -100,14 +100,14 @@ public class CuiQiuMailServiceImpl implements CuiQiuMailService {
|
|
|
CuiQiuEmailDto.CuiQiuUser cuiQiuUser = emailInfo.getTo().get(0);
|
|
|
if (StrUtil.equalsIgnoreCase(cuiQiuUser.getAddress(), email)) {
|
|
|
//PS
|
|
|
- if (goodsId == 33l && StrUtil.equals(from.getName(), PS_ADOBE)) {
|
|
|
+ if (from.getName().contains(PS_ADOBE)) {
|
|
|
return true;
|
|
|
}
|
|
|
//Disney
|
|
|
- if (goodsId == 3l && StrUtil.equals(from.getName(), DISNEY)) {
|
|
|
+ if (from.getName().contains(DISNEY)) {
|
|
|
return true;
|
|
|
}
|
|
|
- if (goodsId == 1l && StrUtil.equals(from.getName(), NETFLIX)) {
|
|
|
+ if (from.getName().contains(NETFLIX)) {
|
|
|
return true;
|
|
|
}
|
|
|
}
|