2.1 响应示例

优质
小牛编辑
140浏览
2023-12-01

API的返回(响应)结果为 JSON 结构,这是一个 getSalesAmount 的API请求返回:

{
    "code": 1000,
    "msg": "OK",
    "data": {
        "action": "getSalesAmount",
        "sales_amount": [
            {
                "time": "2014-05月",
                "sales_amount": "982402998.02",
                "annulus_growth": "55.45",
                "yearonyear_growth": "-"
            },
            {
                "time": "2014-06月",
                "sales_amount": "1378270928.83",
                "annulus_growth": "40.30",
                "yearonyear_growth": "-"
            },
            ...
        ],
        "total_count": 12
    }
}