...
|
...
|
@@ -35,18 +35,8 @@ |
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应参数,data部分
|
|
|
响应成功JSON格式如下所示,若是判断是否可以修改生日,则会返回data
|
|
|
示例1:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {},
|
|
|
"md5": "f4a7a490bb6666b005008d795ed14e5d",
|
|
|
"message": "基本资料修改成功!"
|
|
|
}
|
|
|
```
|
|
|
示例2:
|
|
|
响应成功JSON格式如下所示,修改成功后也会返回当前是否可修改
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
...
|
...
|
@@ -166,25 +156,18 @@ http://127.0.0.1:8096/uic/UserInfoRest/modifyUserBirthday |
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应参数,data部分
|
|
|
响应成功JSON格式如下所示,若是判断是否可以修改生日,则会返回data
|
|
|
示例1:
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "success."
|
|
|
}
|
|
|
```
|
|
|
示例2:
|
|
|
响应成功JSON格式如下所示,修改成功后也会返回当前是否可修改
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "生日只能修改一次",
|
|
|
"message": "生日可以修改",
|
|
|
"data": {
|
|
|
"isCanModifyBirthday": "N"
|
|
|
"isCanModifyBirthday": "Y"
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
响应失败JSON格式如下所示
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"message": "请先登录",
|
...
|
...
|
|