新版仿ok交易所-后端
1
zj
23 hours ago f31fc9f42f78de0808e7f4bdc797c5e622df09e3
trading-order-admin/src/main/java/com/yami/trading/admin/controller/chat/OtcOnlineChatController.java
@@ -94,13 +94,13 @@
        String content = request.getParameter("content");
        String orderNo = request.getParameter("order_no");
        if (StringUtils.isNullOrEmpty(partyId)) {
            throw new YamiShopBindException("暂无用户");
            throw new YamiShopBindException("No users available");
        }
        if (StringUtils.isNullOrEmpty(content.trim()) || StringUtils.isNullOrEmpty(type)) {
            throw new YamiShopBindException("请输入内容");
            throw new YamiShopBindException("Please enter content");
        }
        if (StringUtils.isEmptyString(orderNo)) {
            throw new YamiShopBindException("订单号不能未空");
            throw new YamiShopBindException("Order number cannot be empty");
        }
        // 文字内容乱码处理
        content = URLDecoder.decode(content.replaceAll("%(?![0-9a-fA-F]{2})", "%25"), "utf-8");