| | |
| | | } |
| | | |
| | | if(StringUtils.isEmptyString(orderNo)) { |
| | | throw new YamiShopBindException("订单号不能未空"); |
| | | throw new YamiShopBindException("Order number is required"); |
| | | } |
| | | |
| | | otcOnlineChatMessageService.saveSend(SecurityUtils.getCurrentUserId(), type, content, null, orderNo); |
| | |
| | | int unreadMsg = 0; |
| | | String orderNo = request.getParameter("orderNo"); |
| | | if(StringUtils.isEmptyString(orderNo)) { |
| | | throw new YamiShopBindException("订单号不能未空"); |
| | | throw new YamiShopBindException("Order number is required"); |
| | | } |
| | | unreadMsg = otcOnlineChatMessageService.unreadMsg(orderNo, SecurityUtils.getCurrentUserId()); |
| | | resultObject.setData(unreadMsg); |