API Call Address
{域名地址}/api/user/detail
Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/user/detail
Calling method
POST
Request parameters
| Field name |
Type |
Required |
Description |
| user_name |
string |
No |
Username |
| real_name |
string |
No |
Real Name |
| introduce |
string |
No |
User Introduction |
| email |
string |
No |
Email |
| phone |
string |
No |
Phone Number |
Return parameters
| Field name |
Type |
Description |
| code |
int |
error code |
| msg |
string |
error reason description |
request data example
Return Data Example
{
"code": 0,
"msg": "保存成功"
}
Error Code
| error code |
Description |
| 0 |
OK |
| -1 |
Error, the reason is indicated in the msg |
| 1001 |
Not logged in |
| 1002 |
Unauthorized |
| 200 |
API request OK |