工商业2.0


获取年发电量图表接口

<p><strong>简要描述:</strong> </p> <ul> <li>获取年发电量图表接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/indexbC/getYearEnergyChart</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <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;">plantId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>电站id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "result": 1, "obj": { "charts": { "0": [ 3524.5000122070314, 2772.800039291382, 3745.8000038146974, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "1": [ 5340.3, 2553.3000007629394, 12839.100146484376, 5109.999990844727, 6305.99999923706, 5684.100024795533, 430.49999914169314, 112382.30078048706, 20548.699903178214, 15362.699902176859, 23176.90006643683, 9805.999998760222 ], "2": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 172.6, 52697.6, 7882.200024414063 ] }, "years": [ 2020, 2019, 2018 ] } }</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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML