POST api/Setting/PostUserAdd
添加用户
Request Information
URI Parameters
None.
Body Parameters
{"id":int,"username":string,"password":string,"headpic":string}
LoginBackModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
自增id |
integer |
None. |
| username |
账号名称 |
string |
None. |
| password |
密码 |
string |
None. |
| headpic |
头像 |
string |
None. |
| intime |
创建时间 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"username": "sample string 2",
"password": "sample string 3",
"headpic": "sample string 4",
"intime": "sample string 5"
}
text/html
Sample:
{"id":1,"username":"sample string 2","password":"sample string 3","headpic":"sample string 4","intime":"sample string 5"}
application/xml, text/xml
Sample:
<LoginBackModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.Models"> <headpic>sample string 4</headpic> <id>1</id> <intime>sample string 5</intime> <password>sample string 3</password> <username>sample string 2</username> </LoginBackModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
true/false/error
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |