获取用户资料
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>上傳借用資料</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/Api/GetUserList</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 style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">sign</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>簽名</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>賬號</td>
</tr>
</tbody>
</table>
<h5>請求示例</h5>
<pre><code>--form 'userId=&quot;80000001&quot;' \
--form 'sign=&quot;23f83854cd358438547ad6e039e08785&quot;'</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;info&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;F_Account&quot;: &quot;NATSUYU&quot;,
&quot;functions&quot;: &quot;[{\&quot;id\&quot;:\&quot;356EC7A9-60FB-42BE-AB54-5FC545A6C88C\&quot;,\&quot;text\&quot;:\&quot;Search\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;AECAAEF3-C731-4AE5-AF35-08EEFB9E4FEC\&quot;,\&quot;text\&quot;:\&quot;Binding\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;D05AD912-F5D3-4634-B097-BA1FBAD187C9\&quot;,\&quot;text\&quot;:\&quot;StockTake\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;D7DFAB54-F83B-43E8-813A-134C1215FDFB\&quot;,\&quot;text\&quot;:\&quot;UpdateLocation\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;E8442F44-6AB0-4312-8414-7826D3D3E66F\&quot;,\&quot;text\&quot;:\&quot;Loan\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;A48C2141-E0FF-4F48-9CA2-685F3E7AA9F8\&quot;,\&quot;text\&quot;:\&quot;transferWarehouse\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:false,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;B2DD5B64-BE9A-4F1D-8AC7-4C9EE75D3C7B\&quot;,\&quot;text\&quot;:\&quot;Return\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;7DA609AE-9AD0-4655-BF71-7FEB74A0196E\&quot;,\&quot;text\&quot;:\&quot;ReadWrite\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;6E827503-CD4C-4576-A52E-4F86048AB54C\&quot;,\&quot;text\&quot;:\&quot;Download\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;A34F0F89-95CA-4888-92EA-F3187641A0AD\&quot;,\&quot;text\&quot;:\&quot;Upload\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;A4E3AE49-9373-450C-94FA-7455BB0BE8CE\&quot;,\&quot;text\&quot;:\&quot;Disposal\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:true,\&quot;children\&quot;:null,\&quot;functions\&quot;:null}]&quot;,
&quot;jurisdiction&quot;: &quot;[{\&quot;id\&quot;:\&quot;678dc5d1-b65c-4219-8b3b-a02ad2fd0217\&quot;,\&quot;text\&quot;:\&quot;DP1\&quot;,\&quot;parentId\&quot;:\&quot;145dcc32-d529-4390-8ee8-0c1e86f6cc6f\&quot;,\&quot;checked\&quot;:false,\&quot;children\&quot;:null,\&quot;functions\&quot;:[{\&quot;id\&quot;:\&quot;678dc5d1-b65c-4219-8b3b-a02ad2fd0217_1\&quot;,\&quot;text\&quot;:\&quot;Operation\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:false,\&quot;children\&quot;:null,\&quot;functions\&quot;:null},{\&quot;id\&quot;:\&quot;678dc5d1-b65c-4219-8b3b-a02ad2fd0217_2\&quot;,\&quot;text\&quot;:\&quot;Return\&quot;,\&quot;parentId\&quot;:null,\&quot;checked\&quot;:false,\&quot;children\&quot;:null,\&quot;functions\&quot;:null}]}]&quot;,
&quot;F_UserId&quot;: 80001029,
&quot;F_Password&quot;: &quot;Apple1220&quot;,
&quot;F_CompanyId&quot;: &quot;358a2313-7429-43c2-9c38-f193e02be984&quot;,
&quot;F_DepartmentId&quot;: &quot;358a2313-7429-43c2-9c38-f193e02be984&quot;
}
]
}
--部門權限說明
[{
&quot;id&quot;: &quot;678dc5d1-b65c-4219-8b3b-a02ad2fd0217&quot;,
&quot;text&quot;: &quot;DP1&quot;,
&quot;parentId&quot;: &quot;145dcc32-d529-4390-8ee8-0c1e86f6cc6f&quot;,
&quot;checked&quot;: false,
&quot;children&quot;: null,
&quot;functions&quot;: [{
&quot;id&quot;: &quot;678dc5d1-b65c-4219-8b3b-a02ad2fd0217_1&quot;,--編輯
&quot;text&quot;: &quot;Operation&quot;,
&quot;parentId&quot;: null,
&quot;checked&quot;: false,/*true:有編輯權限,false:沒有編輯權限*/
&quot;children&quot;: null,
&quot;functions&quot;: null
}, {
&quot;id&quot;: &quot;678dc5d1-b65c-4219-8b3b-a02ad2fd0217_2&quot;,--歸還
&quot;text&quot;: &quot;Return&quot;,
&quot;parentId&quot;: null,
&quot;checked&quot;: false,/*true:有歸還權限,false:沒有歸還權限*/
&quot;children&quot;: null,
&quot;functions&quot;: null
}]
}]</code></pre>
<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;">code</td>
<td style="text-align: left;">int</td>
<td>狀態碼,200=成功,其他有錯誤</td>
</tr>
<tr>
<td style="text-align: left;">info</td>
<td style="text-align: left;">string</td>
<td>狀態信息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">List<Obj></td>
<td>返回信息,字段參考以下</td>
</tr>
<tr>
<td style="text-align: left;">Obj.F_UserId</td>
<td style="text-align: left;">string</td>
<td>用戶主鍵</td>
</tr>
<tr>
<td style="text-align: left;">Obj.F_Account</td>
<td style="text-align: left;">string</td>
<td>賬號</td>
</tr>
<tr>
<td style="text-align: left;">Obj.F_Password</td>
<td style="text-align: left;">string</td>
<td>密碼</td>
</tr>
<tr>
<td style="text-align: left;">Obj.functions</td>
<td style="text-align: left;">List<_Obj></td>
<td>菜單權限</td>
</tr>
<tr>
<td style="text-align: left;">Obj.jurisdiction</td>
<td style="text-align: left;">List<_Obj></td>
<td>管轄部門<code>新字段</code></td>
</tr>
<tr>
<td style="text-align: left;">Obj.F_CompanyId</td>
<td style="text-align: left;">string</td>
<td>所屬公司主鍵<code>新加字段</code></td>
</tr>
<tr>
<td style="text-align: left;">Obj.F_DepartmentId</td>
<td style="text-align: left;">string</td>
<td>所屬部門主鍵<code>新加字段</code></td>
</tr>
<tr>
<td style="text-align: left;">_Obj.id</td>
<td style="text-align: left;">string</td>
<td>菜單主鍵</td>
</tr>
<tr>
<td style="text-align: left;">_Obj.text</td>
<td style="text-align: left;">string</td>
<td>菜單名稱</td>
</tr>
<tr>
<td style="text-align: left;">_Obj.@checked</td>
<td style="text-align: left;">bool</td>
<td>菜單權限,true=可以訪問,false=沒權限</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>