POST api/Security/saveWxOpenId

Request Information

URI Parameters

None.

Body Parameters

SecurityUserWeb
NameDescriptionTypeAdditional information
CreatedDatetime

date

None.

CreatedBy

string

None.

UpdatedDatetime

date

None.

UpdatedBy

string

None.

Id

integer

None.

Phone

string

None.

NikeName

string

None.

AvatarUrl

string

None.

City

string

None.

OpenId

string

None.

SessionKey

string

None.

LastLoginDatetime

date

None.

TeacherIndc

string

None.

UnionId

string

None.

WxOpenId

string

None.

WxCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CreatedDatetime": "2025-12-06T14:57:40.1524102+08:00",
  "CreatedBy": "sample string 2",
  "UpdatedDatetime": "2025-12-06T14:57:40.1524102+08:00",
  "UpdatedBy": "sample string 4",
  "Id": 5,
  "Phone": "sample string 6",
  "NikeName": "sample string 7",
  "AvatarUrl": "sample string 8",
  "City": "sample string 9",
  "OpenId": "sample string 10",
  "SessionKey": "sample string 11",
  "LastLoginDatetime": "2025-12-06T14:57:40.1524102+08:00",
  "TeacherIndc": "sample string 12",
  "UnionId": "sample string 13",
  "WxOpenId": "sample string 14",
  "WxCode": "sample string 15"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Token

Object

None.

Phone

string

None.

NikeName

string

None.

OpenId

string

None.

WxOpenId

string

None.

UnionId

string

None.

AvatarUrl

string

None.

City

string

None.

HasBindPhoneNo

boolean

None.

Expires

date

None.

StudentId

string

None.

StudentName

string

None.

StudentAvatarUrl

string

None.

IsTeacher

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Token": {},
  "Phone": "sample string 4",
  "NikeName": "sample string 5",
  "OpenId": "sample string 6",
  "WxOpenId": "sample string 7",
  "UnionId": "sample string 8",
  "AvatarUrl": "sample string 9",
  "City": "sample string 10",
  "HasBindPhoneNo": true,
  "Expires": "2025-12-06T14:57:40.1524102+08:00",
  "StudentId": "sample string 13",
  "StudentName": "sample string 14",
  "StudentAvatarUrl": "sample string 15",
  "IsTeacher": true
}