dream

dream


3.1添加部门、角色

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>平台用户信息添加</li> </ul> <h5>请求URL</h5> <ul> <li><code>/merchant-dept</code> <code>/merchant-role</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">string</td> <td>套餐名称</td> </tr> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">string</td> <td>套餐描述</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code>{ &amp;quot;name&amp;quot;:&amp;quot;销售部门&amp;quot;, &amp;quot;code&amp;quot;:&amp;quot;F001&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>{     &amp;quot;code&amp;quot;: &amp;quot;0&amp;quot;,     &amp;quot;msg&amp;quot;: &amp;quot;Success&amp;quot;,     &amp;quot;data&amp;quot;: &amp;quot;1&amp;quot; }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML