POST wgw/v3/WGWResWeb/UpdateWGWResStatus?wgwResID={wgwResID}&status={status}

上架/下架;审核通过/审核不通过 (接口更新时间:2022年8月19日 lqc) 以下为每个操作(每个按钮的操作)对应要传的状态值: 上架:传1;下架:传-1;通过:1;不通过:19

Request

URI Params

字段名字段说明字段类型附加信息
wgwResID

integer

Required

status

WGWResStatus

Required

Body Params

None.

Response

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

WGWResWebModel

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": {
    "WGWResID": "1",
    "ResID": "2",
    "Type": 1,
    "AlbumType": 0,
    "AlbumID": "3",
    "TypeDesc": "富文本",
    "CloudID": 4,
    "OfficialID": "5",
    "GID": "6",
    "CatgArea": 0,
    "Phases": [
      "sample string 1",
      "sample string 2"
    ],
    "Grades": [
      "sample string 1",
      "sample string 2"
    ],
    "ClassID": "7",
    "ClassIDDesc": "sample string 8",
    "Title": "sample string 9",
    "SubTitle": "sample string 10",
    "Thumbs": [
      {
        "Url": "sample string 1",
        "OriginalUrl": "sample string 2",
        "Width": 3,
        "Height": 4
      },
      {
        "Url": "sample string 1",
        "OriginalUrl": "sample string 2",
        "Width": 3,
        "Height": 4
      }
    ],
    "IsTVCstr": true,
    "CatgID": "12",
    "CatgName": "sample string 13",
    "ST": 0,
    "STDesc": "初始",
    "RefVld": 14,
    "Date": "2026-02-04 10:18:50",
    "DateDesc": "2026-02-04 10:18:50",
    "UID": "16",
    "UName": "sample string 17",
    "PubDate": "sample string 18",
    "PubUID": "19",
    "PubUName": "sample string 20",
    "AppID": "21",
    "OffDate": "sample string 22",
    "OffUID": "23",
    "IsTop": true,
    "TopDate": "sample string 26",
    "ViewCnt": "27",
    "IsAuditor": true
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}