|
@@ -710,6 +710,12 @@ public class CoreServiceImpl implements CoreService {
|
|
|
planAccountMapper.updateByPrimaryKeySelective(planAccount);
|
|
|
}
|
|
|
if (updateStatus == 3) {
|
|
|
+ if (StringUtils.isNotEmpty(pushStatusVO.getErrorMsg())) {
|
|
|
+ //群发配额用完 不再重试
|
|
|
+ if (pushStatusVO.getErrorMsg().contains("45028")) {
|
|
|
+ planAccount.setStatus(3);
|
|
|
+ }
|
|
|
+ }
|
|
|
planAccount.setRetryCount(planAccount.getRetryCount() + 1);
|
|
|
planAccountMapper.updateByPrimaryKeySelective(planAccount);
|
|
|
}
|
|
@@ -718,4 +724,9 @@ public class CoreServiceImpl implements CoreService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ public static void main(String[] args) {
|
|
|
+ String error = "45028,has no masssend quota rid: 673fcc03-762b3ce0-0bfa729b";
|
|
|
+ System.out.println(error.contains("45028"));
|
|
|
+ }
|
|
|
}
|