POST GDTV/v3/BannerWeb/SaveBanner

更新单个信息

Request

URI Params

None.

Body Params

数据

BannerWebModel
字段名字段说明字段类型附加信息
BannerID

主键

integer

None.

CDate

创建时间

date

None.

UDate

修改时间

date

None.

GID

机构ID

integer

None.

GName

机构名称

string

None.

UName

用户名称(冗余)

string

None.

SDate

开始时间

date

None.

EDate

结束时间

date

None.

Forever

是否永久显示

boolean

None.

Enable

是否发布

boolean

None.

EditType

0:仅查看,没有任何按钮 1:只有“发布”或“取消发布”的按钮 2:“编辑”、“发布”或“取消发布”的按钮

NoticeEditType

None.

SysType

系统端

Collection of integer

None.

SysTypeDesc

系统端描述

string

None.

UseArea

显示范围

Collection of integer

None.

UseAreaDesc

显示范围描述

string

None.

SType

资源来源类型

EnumSourceType

None.

RSType

资源类型

ResSourceType

None.

VideoAutoPlay

视频直接播放

boolean

None.

RSTypeDesc

资源类型描述

string

None.

ResID

资源ID

integer

None.

Name

资源标题

string

None.

Pic

图标

string

None.

Action

自定义Action

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BannerID": "1",
  "CDate": "2025-06-18 12:30:55",
  "UDate": "2025-06-18 12:30:55",
  "GID": "4",
  "GName": "sample string 5",
  "UName": "sample string 6",
  "SDate": "2025-06-18 12:30:55",
  "EDate": "2025-06-18 12:30:55",
  "Forever": true,
  "Enable": true,
  "EditType": 0,
  "SysType": [
    1,
    2
  ],
  "SysTypeDesc": ",",
  "UseArea": [
    1,
    2
  ],
  "UseAreaDesc": "班级,学校",
  "SType": 0,
  "RSType": 0,
  "VideoAutoPlay": true,
  "RSTypeDesc": "未知",
  "ResID": "12",
  "Name": "sample string 13",
  "Pic": "sample string 14",
  "Action": "sample string 15"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BannerWebModel'.

Response

APITResultOfBannerWebModel
字段名字段说明字段类型附加信息
Data

BannerWebModel

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": {
    "BannerID": "1",
    "CDate": "2025-06-18 12:30:55",
    "UDate": "2025-06-18 12:30:55",
    "GID": "4",
    "GName": "sample string 5",
    "UName": "sample string 6",
    "SDate": "2025-06-18 12:30:55",
    "EDate": "2025-06-18 12:30:55",
    "Forever": true,
    "Enable": true,
    "EditType": 0,
    "SysType": [
      1,
      2
    ],
    "SysTypeDesc": ",",
    "UseArea": [
      1,
      2
    ],
    "UseAreaDesc": "班级,学校",
    "SType": 0,
    "RSType": 0,
    "VideoAutoPlay": true,
    "RSTypeDesc": "未知",
    "ResID": "12",
    "Name": "sample string 13",
    "Pic": "sample string 14",
    "Action": "sample string 15"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}