全文检索统一搜索获取结果总数接口
<pre><code class="language-text">暂无描述</code></pre>
<p><strong>接口状态</strong></p>
<p>> 开发中</p>
<p><strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/search/count?current=1&keyword=%E6%B5%8B%E8%AF%95&searchCategory=0&sort=1&type=0&recentTime=0&startTime=&endTime=</p>
<p><strong>请求方式</strong></p>
<p>> GET</p>
<p><strong>Content-Type</strong></p>
<p>> none</p>
<p><strong>请求Header参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>x-tenant-code</td>
<td>hzkj</td>
<td>String</td>
<td>是</td>
<td>租户code</td>
</tr>
<tr>
<td>Content-Type</td>
<td>application/json</td>
<td>String</td>
<td>是</td>
<td>内容类型</td>
</tr>
<tr>
<td>x-request-id</td>
<td>ce0e40a9-2df7-4f16-861f-a7946127f30a</td>
<td>String</td>
<td>是</td>
<td>请求唯一ID</td>
</tr>
<tr>
<td>x-timestamp</td>
<td>1724990364948</td>
<td>String</td>
<td>是</td>
<td>时间戳</td>
</tr>
<tr>
<td>x-auth</td>
<td>iP3pViWOBOAQA5hdylDDdj</td>
<td>String</td>
<td>是</td>
<td>签名</td>
</tr>
</tbody>
</table>
<p><strong>请求Query参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>current</td>
<td>1</td>
<td>Integer</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>keyword</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>搜索关键字</td>
</tr>
<tr>
<td>searchCategory</td>
<td>ALL</td>
<td>String</td>
<td>否</td>
<td>搜索类别 0:全部,1:找人,2:找新闻,3:找法规,4:找文档ALL PERSONNEL NEWS LAWS DOCUMENT</td>
</tr>
<tr>
<td>sort</td>
<td>TIME</td>
<td>String</td>
<td>否</td>
<td>排序 0:按时间,1:按相关度TIME RELEVANCE</td>
</tr>
<tr>
<td>type</td>
<td>TITLE</td>
<td>String</td>
<td>否</td>
<td>检索方式 0:标题,1:全文TITLE FULL</td>
</tr>
<tr>
<td>recentTime</td>
<td>NONE</td>
<td>String</td>
<td>否</td>
<td>时间范围 0:时间不限,1:一年内,2:一月内,3:一周内,4:一天内,5:自定义NONE YEAR MONTH WEEK DAY CUSTOM</td>
</tr>
<tr>
<td>startTime</td>
<td>2024-09-06</td>
<td>LocalDate</td>
<td>否</td>
<td>自定义开始时间</td>
</tr>
<tr>
<td>endTime</td>
<td>2024-09-06</td>
<td>LocalDate</td>
<td>否</td>
<td>自定义结束时间</td>
</tr>
<tr>
<td>highlightPreTag</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>高亮开始标签</td>
</tr>
<tr>
<td>highlightPostTag</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>高亮结束标签</td>
</tr>
</tbody>
</table>
<p><strong>认证方式</strong></p>
<p>> 继承父级</p>
<p><strong>响应示例</strong></p>
<ul>
<li>成功(200)</li>
</ul>
<pre><code class="language-javascript">{
&quot;code&quot;: 1200,
&quot;data&quot;: 9,
&quot;desc&quot;: &quot;操作成功&quot;,
&quot;ex&quot;: null,
&quot;refreshPermission&quot;: false
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>SUCCESS</td>
<td>String</td>
<td>SUCCESS UNAUTHORIZED FileService_UNAUTHORIZED FORBIDDEN SYSTEM_ERROR GATEWAY_ERROR CUSTOM_ERROR WARNING PERMISSION_ERROR ACTIVATION_ERROR</td>
</tr>
<tr>
<td>data</td>
<td>-</td>
<td>Integer</td>
<td>-</td>
</tr>
<tr>
<td>desc</td>
<td>-</td>
<td>String</td>
<td>-</td>
</tr>
<tr>
<td>ex</td>
<td>-</td>
<td>String</td>
<td>-</td>
</tr>
<tr>
<td>refreshPermission</td>
<td>true</td>
<td>Boolean</td>
<td>-</td>
</tr>
</tbody>
</table>
<ul>
<li>失败(404)</li>
</ul>
<pre><code class="language-javascript">暂无数据</code></pre>