Browse Source

fix:数据类型错误;

Wang Chen 2 năm trước cách đây
mục cha
commit
d48889b83c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Services/Export/AbstractExportTask.php

+ 1 - 1
src/Services/Export/AbstractExportTask.php

@@ -35,7 +35,7 @@ abstract class AbstractExportTask
         if ($this->query_data) {
             $params = array_merge($this->getTaskData(), [
                 'name' => $this->query_data->memu_name,
-                'query_params' => $query_params,
+                'query_params' => json_encode($query_params, JSON_UNESCAPED_UNICODE),
                 'query_condition' => $this->query_data->getQueryParamsContent($query_params),
                 'status' => self::ready,
             ]);