POST api/member/savemember
保存用户信息
Request Information
URI Parameters
None.
Body Parameters
用户对象
MemberInfoDtoName | Description | Type | Additional information |
---|---|---|---|
MemberId |
成员账户 |
string |
None. |
MemberName |
成员名称 |
string |
None. |
AccountName |
帐号 |
string |
None. |
Alias |
别名 |
string |
None. |
Role |
用户角色 |
Roles |
None. |
Sex |
性别 |
string |
None. |
Photo |
头像 |
string |
None. |
邮箱 |
string |
None. |
|
Phone |
手机号 |
string |
None. |
Identification |
身份证 |
string |
None. |
CreateDate |
创建时间 |
date |
None. |
EnableWatermark |
启用水印 |
boolean |
None. |
Watermark |
水印图片 |
string |
None. |
MemberType |
1 老师 2学生 |
integer |
None. |
IsSuperAdmin |
是否为超级管理员 |
boolean |
None. |
IsSystemAdmin |
系统内置管理员 |
boolean |
None. |
IsAdmin |
是否为管理员 |
boolean |
None. |
CreatedTime |
创建时间 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MemberId": "sample string 1", "MemberName": "sample string 2", "AccountName": "sample string 3", "Alias": "sample string 5", "Role": { "RolesID": 1, "RolesName": "sample string 2", "Remark": "sample string 3", "EstablishDate": "2024-09-25T00:12:01.5781064+08:00", "Inlay": true, "IsSystem": true, "Pid": 7 }, "Sex": "sample string 6", "Photo": "sample string 7", "Email": "sample string 8", "Phone": "sample string 9", "Identification": "sample string 10", "CreateDate": "2024-09-25T00:12:01.5781064+08:00", "EnableWatermark": true, "Watermark": "sample string 12", "MemberType": 13, "IsSuperAdmin": false, "IsSystemAdmin": false, "IsAdmin": false, "CreatedTime": "2024-09-25" }
text/html
Sample:
{"MemberId":"sample string 1","MemberName":"sample string 2","AccountName":"sample string 3","Alias":"sample string 5","Role":{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:12:01.5781064+08:00","Inlay":true,"IsSystem":true,"Pid":7},"Sex":"sample string 6","Photo":"sample string 7","Email":"sample string 8","Phone":"sample string 9","Identification":"sample string 10","CreateDate":"2024-09-25T00:12:01.5781064+08:00","EnableWatermark":true,"Watermark":"sample string 12","MemberType":13,"IsSuperAdmin":false,"IsSystemAdmin":false,"IsAdmin":false,"CreatedTime":"2024-09-25"}
application/xml, text/xml
Sample:
<MemberInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AccountName>sample string 3</AccountName> <Alias>sample string 5</Alias> <CreateDate>2024-09-25T00:12:01.5781064+08:00</CreateDate> <Email>sample string 8</Email> <EnableWatermark>true</EnableWatermark> <Identification>sample string 10</Identification> <MemberId>sample string 1</MemberId> <MemberName>sample string 2</MemberName> <MemberType>13</MemberType> <PassWord>sample string 4</PassWord> <Phone>sample string 9</Phone> <Photo>sample string 7</Photo> <Role xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:EstablishDate>2024-09-25T00:12:01.5781064+08:00</d2p1:EstablishDate> <d2p1:Inlay>true</d2p1:Inlay> <d2p1:IsSystem>true</d2p1:IsSystem> <d2p1:Pid>7</d2p1:Pid> <d2p1:Remark>sample string 3</d2p1:Remark> <d2p1:RolesID>1</d2p1:RolesID> <d2p1:RolesName>sample string 2</d2p1:RolesName> </Role> <Sex>sample string 6</Sex> <Watermark>sample string 12</Watermark> </MemberInfoDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存用户信息
JsonRtnDtoOfMemberInfoDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | MemberInfoDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "MemberId": "sample string 1", "MemberName": "sample string 2", "AccountName": "sample string 3", "Alias": "sample string 5", "Role": { "RolesID": 1, "RolesName": "sample string 2", "Remark": "sample string 3", "EstablishDate": "2024-09-25T00:12:01.5781064+08:00", "Inlay": true, "IsSystem": true, "Pid": 7 }, "Sex": "sample string 6", "Photo": "sample string 7", "Email": "sample string 8", "Phone": "sample string 9", "Identification": "sample string 10", "CreateDate": "2024-09-25T00:12:01.5781064+08:00", "EnableWatermark": true, "Watermark": "sample string 12", "MemberType": 13, "IsSuperAdmin": false, "IsSystemAdmin": false, "IsAdmin": false, "CreatedTime": "2024-09-25" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"MemberId":"sample string 1","MemberName":"sample string 2","AccountName":"sample string 3","Alias":"sample string 5","Role":{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:12:01.5781064+08:00","Inlay":true,"IsSystem":true,"Pid":7},"Sex":"sample string 6","Photo":"sample string 7","Email":"sample string 8","Phone":"sample string 9","Identification":"sample string 10","CreateDate":"2024-09-25T00:12:01.5781064+08:00","EnableWatermark":true,"Watermark":"sample string 12","MemberType":13,"IsSuperAdmin":false,"IsSystemAdmin":false,"IsAdmin":false,"CreatedTime":"2024-09-25"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfMemberInfoDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <AccountName>sample string 3</AccountName> <Alias>sample string 5</Alias> <CreateDate>2024-09-25T00:12:01.5781064+08:00</CreateDate> <Email>sample string 8</Email> <EnableWatermark>true</EnableWatermark> <Identification>sample string 10</Identification> <MemberId>sample string 1</MemberId> <MemberName>sample string 2</MemberName> <MemberType>13</MemberType> <PassWord>sample string 4</PassWord> <Phone>sample string 9</Phone> <Photo>sample string 7</Photo> <Role xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d3p1:EstablishDate>2024-09-25T00:12:01.5781064+08:00</d3p1:EstablishDate> <d3p1:Inlay>true</d3p1:Inlay> <d3p1:IsSystem>true</d3p1:IsSystem> <d3p1:Pid>7</d3p1:Pid> <d3p1:Remark>sample string 3</d3p1:Remark> <d3p1:RolesID>1</d3p1:RolesID> <d3p1:RolesName>sample string 2</d3p1:RolesName> </Role> <Sex>sample string 6</Sex> <Watermark>sample string 12</Watermark> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfMemberInfoDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"MemberId":"sample string 1","MemberName":"sample string 2","AccountName":"sample string 3","Alias":"sample string 5","Role":{"RolesID":1,"RolesName":"sample string 2","Remark":"sample string 3","EstablishDate":"2024-09-25T00:12:01.5781064+08:00","Inlay":true,"IsSystem":true,"Pid":7},"Sex":"sample string 6","Photo":"sample string 7","Email":"sample string 8","Phone":"sample string 9","Identification":"sample string 10","CreateDate":"2024-09-25T00:12:01.5781064+08:00","EnableWatermark":true,"Watermark":"sample string 12","MemberType":13,"IsSuperAdmin":false,"IsSystemAdmin":false,"IsAdmin":false,"CreatedTime":"2024-09-25"}});