POST wgw/v3/CatgWeb/SaveCatg

保存栏目信息

Request

URI Params

None.

Body Params

栏目

CatgWebModel
字段名字段说明字段类型附加信息
CatgID

主键

integer

None.

OfficialID

微官网ID

integer

None.

GID

所属机构

integer

None.

Name

栏目名称

string

None.

SNO

排序

integer

None.

PID

父栏目

integer

None.

PName

父栏目描述

string

None.

ST

状态

CatgStatus

None.

STDesc

状态描述

string

None.

ThumbRatio

封面比例

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CatgID": "1",
  "OfficialID": "2",
  "GID": "3",
  "Name": "sample string 4",
  "SNO": 5,
  "PID": "6",
  "PName": "sample string 7",
  "ST": 0,
  "STDesc": "启用",
  "ThumbRatio": "sample string 8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response

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

CatgWebModel

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": {
    "CatgID": "1",
    "OfficialID": "2",
    "GID": "3",
    "Name": "sample string 4",
    "SNO": 5,
    "PID": "6",
    "PName": "sample string 7",
    "ST": 0,
    "STDesc": "启用",
    "ThumbRatio": "sample string 8"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}