获取自由付小数点开关
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取自由付小数点开关</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xxx.xxx.com/systems/get_huidu</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST Content-Type: application/json;charset=utf-8
<strong>参数:</strong> </li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
<th style="text-align: left;">规则</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">key</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>key</td>
<td style="text-align: left;">固定值:agent_pay_decimal</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> //成功
{
"code": 0,
"msg": 2006,
"data": {
"name": "自由付小数点开关", //名称
"key": "agent_pay_decimal", //key
"value": "0" //0=打开小数点,1=关闭小数点
}
}
//失败
{"code":1,"msg":7001}</code></pre>
<p><strong>返回码说明:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">0/1</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">错误码</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>