新版仿ok交易所-后端
1
zj
18 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
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");