更新 '接口文档'

刘行 2021-03-09 14:58:47 +08:00
parent 8bc2ad52e6
commit 23fd067e0d

@ -554,6 +554,72 @@
### 3、修改调查对象
- url`/respondent/respondent`
- method`POST`
- Content-Type`application/json`
- 参数列表:
~~~json
{
"idNumber": "调查对象身份证号",
"phone": "调查对象的手机号",
"name": "调查对象姓名",
"msg": "备注",
"userPhone": "分配给的用户的电话号码",
"gender": "男/女",
"administrativeArea": { //调查对象的行政区划
"province": "XX省",
"city": "XX市",
"county": "XX区"
}
}
~~~
- 返回数据
~~~json
{
"code": "状态码",
"msg": "修改成功",
"data": null
}
~~~
### 4、删除调查对象
- url`/respondent/respondent`
- method`POST`
- Content-Type`application/json`
- 参数列表:
~~~json
{
"idNumber": "XXXXXXX"
}
~~~
- 返回数据
~~~json
{
"code": "状态码",
"msg": "删除成功",
"data": null
}
~~~
## 调查记录