LST-KXC

开鑫充项目相关接口文档


导入用户

<h2>导入接口文档</h2> <h3>接口描述</h3> <p>该接口用于导入企业相关文件。</p> <h3>请求信息</h3> <ul> <li>请求方法:POST</li> <li>请求路径:/api/charge/enterprise/user/import/{enterpriseId}</li> </ul> <h3>请求参数</h3> <p>路径参数:</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>必填</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>enterpriseId</td> <td>string</td> <td>是</td> <td>企业ID</td> </tr> </tbody> </table> <p>请求体参数:</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>必填</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>file</td> <td>file</td> <td>是</td> <td>文件</td> </tr> </tbody> </table> <h3>响应信息</h3> <ul> <li>响应数据类型:JSON</li> <li>响应成功示例: <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;导入成功&amp;quot; }</code></pre></li> <li>响应失败示例: <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 500, &amp;quot;message&amp;quot;: &amp;quot;导入失败&amp;quot; }</code></pre></li> </ul> <h3>错误码</h3> <table> <thead> <tr> <th>错误码</th> <th>含义</th> </tr> </thead> <tbody> <tr> <td>500</td> <td>导入失败</td> </tr> </tbody> </table> <h3>备注</h3> <ul> <li>文件格式可以是Excel、CSV等常见格式。</li> <li>文件大小限制为10M以内。</li> </ul> <p>请根据实际情况将路径<code>{enterpriseId}</code>替换为具体的企业ID。</p>

页面列表

ITEM_HTML