The return
- The format of return is json for this Api
- No matter the API Return Succes Or Fail,they always return format of [ code、message、data ]。
The Return data
| Field | Type | Example | Desc |
|---|---|---|---|
| code | int | 200 | 200 Success, !=200 Fail |
| message | string | success | the code message |
| data | array | '[...]' | Return Data |
Example
{
"code": 200,
"message": "success",
"data": [...]
}