变量
所有接口调用时请添加如下http协议头
Duliday-Agent: <agent>
Duliday-Agent-Version: 0x010000
agent {
1: web.mobile.c
2: android.c
3: ios.c
4: web.b
5: android.b
6: ios.b
}
- 发送验证码
POST {host}/api/auth/verification-code { "phone": "15901778405" }
- 注册
POST {host}/hrz/passport/v1/reg { "phone": <string>, "password": <string> } 200 OK { "errCode": 0, "errMessage": "OK", "data": null }
- 省列表
GET {host}/hrz/common/provinces 200 OK { "errCode": 0, "errMessage": "OK", "data": [ { "id": <int>, "name": <string> } ] }
- 市列表
GET {host}/hrz/common/cities/{provinceId} 200 OK { "errCode": 0, "errMessage": "OK", "data": [ { "id": <int>, "name": <string> } ] }