POST api/Product/WxShare

H5页面分享到微信

Request Information

URI Parameters

None.

Body Parameters

WxShareDto
NameDescriptionTypeAdditional information
Url

当前网页的URL,不包含#及其后面部分

string

None.

OrganizationId

前端不用传

integer

None.

StudentId

前端不用传

integer

None.

UserToken

当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传

string

None.

DomainName

来访域名(用户访问该站点时输入的域名)

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Url": "sample string 1",
  "OrganizationId": 2,
  "StudentId": 3,
  "UserToken": "sample string 4",
  "DomainName": "sample string 5",
  "Id": 6
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIServiceResultOfObject
NameDescriptionTypeAdditional information
Data

Object

None.

State

执行结果反馈:1表示成功、0表示失败, -1用户Token验证失败, 其它出错类型(值将小于-1)与具体业务关联紧密,详情可见Msg描述内容

integer

None.

Msg

返回的错误或描述信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "State": 2,
  "Msg": "sample string 3"
}