## 校验会员等级返回异常处理调整;

This commit is contained in:
cabbage 2025-06-09 20:29:54 +08:00
parent eb0e6e54b8
commit cf532f5980
1 changed files with 5 additions and 2 deletions

View File

@ -106,9 +106,12 @@ public class ApiRetailOrderController {
} else { } else {
orderLevelVO.setMsg("会员不满足升级条件"); orderLevelVO.setMsg("会员不满足升级条件");
} }
} catch (ServiceException e) {
log.error("校验会员等级服务异常", e);
orderLevelVO.setMsg(e.getMessage());
} catch (Exception e) { } catch (Exception e) {
log.error("校验会员等级异常", e); log.error("会员等级判断异常", e);
orderLevelVO.setMsg("校验会员等级异常"); orderLevelVO.setMsg("会员等级判断异常");
// if (EYesNo.YES.getIntValue() == levelParam.getFirstCheck()) { // if (EYesNo.YES.getIntValue() == levelParam.getFirstCheck()) {
// // 2024.12.25 -- 添加需求首次校验不需要进行提示错误9050 // // 2024.12.25 -- 添加需求首次校验不需要进行提示错误9050
// orderLevelVO.setIsEnough(true); // orderLevelVO.setIsEnough(true);