获取通用字典类型
<h5>简要描述</h5>
<ul>
<li>获取折旧方法</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/eamServer/magic/asset/data_dict/get</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>固定传general_field_type</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 1,
"message": "success",
"data": [{
"value": "1",
"text": "平均年限法",
"description": ""
}, {
"value": "2",
"text": "工作量法",
"description": ""
}, {
"value": "3",
"text": "双倍余额递减法",
"description": ""
}, {
"value": "4",
"text": "年数总合法",
"description": ""
}],
"timestamp": 1643119760366,
"executeTime": 3
}</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>为1表示成功</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>