GET api/sys/website/topic/{tag}?lang={lang}

获取网站专题

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tag

string

Required

lang

string

Required

Body Parameters

None.

Response Information

Resource Description

获取网站专题

ReturnResultOfSysTopicContract
NameDescriptionTypeAdditional information
data

SysTopicContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "color": "sample string 1",
    "status": 2,
    "images": [
      "sample string 1",
      "sample string 2"
    ],
    "classifys": [
      {
        "classid": "sample string 1",
        "parentid": "sample string 2",
        "url": "sample string 3",
        "tag": "sample string 4",
        "classname": "sample string 5",
        "orderby": 6
      },
      {
        "classid": "sample string 1",
        "parentid": "sample string 2",
        "url": "sample string 3",
        "tag": "sample string 4",
        "classname": "sample string 5",
        "orderby": 6
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}