增加后台用户

URL地址:api/App/UserJoin/InsertUserJoin

请求方式:POST

传递参数

None.

传递对象

UserJoinEntity (后台用户对象)
名   称描   述参数类型附加信息
Id

编号

integer

None.

Account

帐号

string

None.

Name

名称

string

None.

PassWord

密码

string

None.

WxId

微信id

string

None.

WxName

微信名称

string

None.

QQ

qq号

string

None.

Phone

电话号码

string

None.

Sex

性别

boolean

None.

Age

年龄

integer

None.

Email

电子邮件

string

None.

ReTime

创建时间

date

None.

application/json, text/json

Sample:
{
  "Id": 1,
  "Account": "sample string 2",
  "Name": "sample string 3",
  "PassWord": "sample string 4",
  "WxId": "sample string 5",
  "WxName": "sample string 6",
  "QQ": "sample string 7",
  "Phone": "sample string 8",
  "Sex": true,
  "Age": 10,
  "Email": "sample string 11",
  "ReTime": "2021-02-28T02:05:49.7297008+08:00"
}

application/xml, text/xml

Sample:
<UserJoinEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Account>sample string 2</Account>
  <Age>10</Age>
  <Email>sample string 11</Email>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <PassWord>sample string 4</PassWord>
  <Phone>sample string 8</Phone>
  <QQ>sample string 7</QQ>
  <ReTime>2021-02-28T02:05:49.7297008+08:00</ReTime>
  <Sex>true</Sex>
  <WxId>sample string 5</WxId>
  <WxName>sample string 6</WxName>
</UserJoinEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfBoolean (bool)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

boolean

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": true
}

application/xml, text/xml

Sample:
<HttpResultMessageOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfboolean>