data.php 文件 都在同一个路径下 '数据' . $i, // 'columnLabel' => '数据' . $i, // 'columnUrl' => '数据' . $i, // ]; // // $res[] = $rowData; // } // 输出 JSON 数据 $response = create_signed_rest_request( '/api/cms/column/getAllColumn', [ 'method' => 'POST', 'body' => [ 'pageSize' => $pageSize, 'current' => $current, ], ] ); // 将查询结果转换为 JSON 格式 $data = [ 'data' => $res, 'recordsFiltered' => 100, ]; echo json_encode( $data );