杭州统一监督组件

组件


消息批量新增接口

<pre><code class="language-text">暂无描述</code></pre> <p><strong>接口状态</strong></p> <p>&gt; 开发中</p> <p><strong>接口URL</strong></p> <p>&gt; /subassembly/su/w/v1/msg/add</p> <p><strong>请求方式</strong></p> <p>&gt; POST</p> <p><strong>Content-Type</strong></p> <p>&gt; json</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>hongzhengkeji</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>请求Body参数</strong></p> <pre><code class="language-javascript">[ { &amp;quot;msgTitle&amp;quot;: &amp;quot;111&amp;quot;, &amp;quot;msgContent&amp;quot;: &amp;quot;1111&amp;quot;, &amp;quot;publishTimeStr&amp;quot;: &amp;quot;2024-09-09 16:32:52&amp;quot;, &amp;quot;publisherName&amp;quot;: &amp;quot;wwww&amp;quot;, &amp;quot;skipUrlWeb&amp;quot;: &amp;quot;www&amp;quot;, &amp;quot;skipUrlMobile&amp;quot;: &amp;quot;wwww&amp;quot;, &amp;quot;personnel&amp;quot;: &amp;quot;429547&amp;quot;, &amp;quot;uniqueId&amp;quot;: &amp;quot;1234567&amp;quot; }, { &amp;quot;msgTitle&amp;quot;: &amp;quot;222&amp;quot;, &amp;quot;msgContent&amp;quot;: &amp;quot;222222&amp;quot;, &amp;quot;publishTimeStr&amp;quot;: &amp;quot;2024-09-10 16:32:52&amp;quot;, &amp;quot;publisherName&amp;quot;: &amp;quot;wwww&amp;quot;, &amp;quot;skipUrlWeb&amp;quot;: &amp;quot;www&amp;quot;, &amp;quot;skipUrlMobile&amp;quot;: &amp;quot;wwww&amp;quot;, &amp;quot;personnel&amp;quot;: &amp;quot;429547&amp;quot;, &amp;quot;uniqueId&amp;quot;: &amp;quot;1234568&amp;quot; } ]</code></pre> <table> <thead> <tr> <th>参数名</th> <th>示例值</th> <th>参数类型</th> <th>是否必填</th> <th>参数描述</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>-</td> <td>Array</td> <td>否</td> <td>-</td> </tr> <tr> <td>0.msgTitle</td> <td>-</td> <td>String</td> <td>是</td> <td>通知标题</td> </tr> <tr> <td>0.msgContent</td> <td>-</td> <td>String</td> <td>是</td> <td>通知内容</td> </tr> <tr> <td>0.publishTimeStr</td> <td>-</td> <td>String</td> <td>是</td> <td>发布时间(yyyy-MM-dd HH:mm:ss)</td> </tr> <tr> <td>0.publisherName</td> <td>-</td> <td>String</td> <td>是</td> <td>发布者</td> </tr> <tr> <td>0.skipUrlWeb</td> <td>-</td> <td>String</td> <td>否</td> <td>web跳转url</td> </tr> <tr> <td>0.skipUrlMobile</td> <td>-</td> <td>String</td> <td>否</td> <td>mobile跳转url</td> </tr> <tr> <td>0.personnel</td> <td>-</td> <td>String</td> <td>是</td> <td>用户(浙政钉id)</td> </tr> <tr> <td>0.uniqueId</td> <td>-</td> <td>String</td> <td>是</td> <td>唯一id</td> </tr> </tbody> </table> <p><strong>响应示例</strong></p> <ul> <li>成功(200)</li> </ul> <pre><code class="language-javascript">{     &amp;quot;code&amp;quot;: 1200,     &amp;quot;data&amp;quot;: [         {             &amp;quot;id&amp;quot;: &amp;quot;589064294932549&amp;quot;,             &amp;quot;uniqueId&amp;quot;: &amp;quot;1234577&amp;quot;         },         {             &amp;quot;id&amp;quot;: &amp;quot;589064296157253&amp;quot;,             &amp;quot;uniqueId&amp;quot;: &amp;quot;1234569&amp;quot;         }     ],     &amp;quot;desc&amp;quot;: &amp;quot;操作成功&amp;quot;,     &amp;quot;ex&amp;quot;: null,     &amp;quot;refreshPermission&amp;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>Array</td> <td>-</td> </tr> <tr> <td>data.id</td> <td>-</td> <td>String</td> <td>消息主键ID</td> </tr> <tr> <td>data.uniqueId</td> <td>-</td> <td>String</td> <td>唯一id</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">{     &amp;quot;code&amp;quot;: 1601,     &amp;quot;data&amp;quot;: null,     &amp;quot;desc&amp;quot;: &amp;quot;唯一ID:1234577已存在,请检查数据&amp;quot;,     &amp;quot;ex&amp;quot;: null,     &amp;quot;refreshPermission&amp;quot;: false }</code></pre>

页面列表

ITEM_HTML