POST api/Mobile/MobileCheckOpenId?openId={openId}&appType={appType}

微信 openId登录

Request Information

URI Parameters

NameDescriptionTypeAdditional information
openId

string

Required

appType

10:小程序 20:公众号

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

微信 openId登录

ResponseModelOfPlatformUser
NameDescriptionTypeAdditional information
rows

PlatformUser

None.

total

integer

None.

errorMsg

string

None.

errorCode

string

None.

records

integer

None.

page

integer

None.

extend

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "rows": {
    "Id": 1,
    "CorpCode": "sample string 2",
    "UserName": "sample string 3",
    "LoginName": "sample string 4",
    "Pwd": "sample string 5",
    "LastLoginTime": "2025-12-11T23:15:39.088206+08:00",
    "FirstLoginTime": "2025-12-11T23:15:39.088206+08:00",
    "State": 1,
    "UserType": 6,
    "Mobile": "sample string 7",
    "WXOpenId": "sample string 8",
    "ChainCode": "sample string 9",
    "CorpName": "sample string 10",
    "SignUrl": "sample string 11",
    "SignUrlUpLoad": "sample string 12",
    "SignUrlState": 1,
    "SignUrlAuditResult": "sample string 13",
    "WxGzhOpenId": "sample string 14",
    "UsefulTime": "2025-12-11T23:15:39.0897521+08:00"
  },
  "total": 1,
  "errorMsg": "sample string 2",
  "errorCode": "sample string 3",
  "records": 4,
  "page": 1,
  "extend": {}
}

application/xml, text/xml

Sample:
<ResponseModelOfPlatformUsernltYOC6F xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YCloud.Rcp.Entity.WebResponse">
  <errorCode>sample string 3</errorCode>
  <errorMsg>sample string 2</errorMsg>
  <extend />
  <page>1</page>
  <records>4</records>
  <rows xmlns:d2p1="http://schemas.datacontract.org/2004/07/YCloud.Rcp.Entity.RcpWeb">
    <d2p1:ChainCode>sample string 9</d2p1:ChainCode>
    <d2p1:CorpCode>sample string 2</d2p1:CorpCode>
    <d2p1:CorpName>sample string 10</d2p1:CorpName>
    <d2p1:FirstLoginTime>2025-12-11T23:15:39.088206+08:00</d2p1:FirstLoginTime>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:LastLoginTime>2025-12-11T23:15:39.088206+08:00</d2p1:LastLoginTime>
    <d2p1:LoginName>sample string 4</d2p1:LoginName>
    <d2p1:Mobile>sample string 7</d2p1:Mobile>
    <d2p1:Pwd>sample string 5</d2p1:Pwd>
    <d2p1:SignUrl>sample string 11</d2p1:SignUrl>
    <d2p1:SignUrlAuditResult>sample string 13</d2p1:SignUrlAuditResult>
    <d2p1:SignUrlState>1</d2p1:SignUrlState>
    <d2p1:SignUrlUpLoad>sample string 12</d2p1:SignUrlUpLoad>
    <d2p1:State>1</d2p1:State>
    <d2p1:UsefulTime>2025-12-11T23:15:39.0897521+08:00</d2p1:UsefulTime>
    <d2p1:UserName>sample string 3</d2p1:UserName>
    <d2p1:UserType>6</d2p1:UserType>
    <d2p1:WXOpenId>sample string 8</d2p1:WXOpenId>
    <d2p1:WxGzhOpenId>sample string 14</d2p1:WxGzhOpenId>
  </rows>
  <total>1</total>
</ResponseModelOfPlatformUsernltYOC6F>