POST api/WXMain/GetPopup

根据类型获取单条弹窗,该类型无弹窗返回400 不显示

Request Information

URI Parameters

None.

Body Parameters

PopupParam
NameDescriptionTypeAdditional information
popuptype

弹窗类型 不传默认0 0 主页大弹窗 1 小弹窗 ,分隔

integer

None.

popupid

弹窗的id 关闭时候需要

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "popuptype": 1,
  "popupid": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

根据类型获取单条弹窗,该类型无弹窗返回400 不显示

ApiResultModelRerurnPopup
NameDescriptionTypeAdditional information
rerurnPopup

RerurnPopup

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "rerurnPopup": {
    "title": "sample string 1",
    "image": "sample string 2",
    "path": "sample string 3",
    "width": 4,
    "high": 5,
    "popuptype": 6,
    "popupid": 7
  },
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}