diff --git a/app/Request.php b/app/Request.php index c574dec..d999163 100644 --- a/app/Request.php +++ b/app/Request.php @@ -65,7 +65,7 @@ class Request extends \think\Request { // 如果是数组或对象,转换为 JSON 字符串 if (is_array($data) || is_object($data)) { - $data = json_encode($data); + $data = json_encode($data, JSON_UNESCAPED_UNICODE); } // 生成随机 salt (8字节)