May 18, 2021 WeChat Mini Program Development Document
Check the bus/subway lines set up.
The name of the argument | Type | Required | Note |
---|---|---|---|
type | Int | Y | Type 0-Metro 1-Bus |
The name of the argument | Type | Required | Note |
---|---|---|---|
errcode | Int | Y | Error code |
errmsg | string | Y | The error message |
results | object | N | Line information |
The contents of the results are as follows:
The name of the argument | Type | Required | Note |
---|---|---|---|
line_list | away | Y | Line information |
Each results.line_list of them is as follows:
The name of the argument | Type | Required | Note |
---|---|---|---|
Id | Int | Y | The unique id of the line |
start_station | string | Y | The starting station |
end_station | string | Y | Terminal |
line_name | string | Y | The line name |