衍生指标计算下拉框接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>衍生指标计算下拉框接口
@陈铁锋</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/indicator/indicatorbasicconfig/indicatorDropdown</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
<li>请求携带token</li>
</ul>
<p><strong>参数:</strong> 无</p>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "success",
"code": 0,
"data": [
{
"id": 3,
"name": "测试111下下",
"code": "name",
"type": 30,
"range": 10,
"dimensions": 20,
"dimensionsValue": "20",
"mainAttrType": null,
"mainAttrName": null,
"mainAttr": "consumerNo",
"triggerType": null,
"triggerValue": null,
"outputType": null,
"resultType": "string",
"desc": "描述11111",
"remark": "333",
"hitType": null,
"dateType": null,
"dateHour": null,
"dateField": null,
"sequence": 0,
"isFinish": 0,
"isPreheat": 1,
"initValue": 10,
"calcType": null,
"state": 10,
"addUser": 273,
"addIp": "127.0.0.1",
"addTime": "2018-08-31 15:33:16",
"updateUser": 0,
"updateIp": "127.0.0.1",
"updateTime": "2018-09-06 19:08:11",
"deleteFlag": 0
},
{
"id": 5,
"name": "修改5",
"code": "amount",
"type": 30,
"range": 20,
"dimensions": 20,
"dimensionsValue": "arc_user",
"mainAttrType": null,
"mainAttrName": null,
"mainAttr": "comsumerNo",
"triggerType": 10,
"triggerValue": null,
"outputType": null,
"resultType": "string",
"desc": "描述",
"remark": "修改5",
"hitType": null,
"dateType": null,
"dateHour": null,
"dateField": null,
"sequence": 0,
"isFinish": 0,
"isPreheat": 1,
"initValue": 10,
"calcType": null,
"state": 10,
"addUser": 0,
"addIp": "",
"addTime": "2018-09-04 15:29:52",
"updateUser": 0,
"updateIp": "127.0.0.1",
"updateTime": "2018-09-05 11:19:37",
"deleteFlag": 0
},
{
"id": 6,
"name": "修改6",
"code": "22",
"type": 30,
"range": 20,
"dimensions": 20,
"dimensionsValue": "arc_user",
"mainAttrType": null,
"mainAttrName": null,
"mainAttr": "comsumerNo",
"triggerType": 10,
"triggerValue": null,
"outputType": null,
"resultType": "string",
"desc": "描述",
"remark": "修改6",
"hitType": null,
"dateType": null,
"dateHour": null,
"dateField": null,
"sequence": 0,
"isFinish": 0,
"isPreheat": 1,
"initValue": 10,
"calcType": null,
"state": 10,
"addUser": 0,
"addIp": "",
"addTime": "2018-09-04 15:31:52",
"updateUser": 0,
"updateIp": "127.0.0.1",
"updateTime": "2018-09-05 11:19:12",
"deleteFlag": 0
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">msg</td>
<td style="text-align: left;">string</td>
<td>提示信息</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>0:成功,500:异常</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">json</td>
<td>指标数据,具体字段含义看指标提交接口</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>