GET api/NewManager/GetImgList?viewType={viewType}

根据类型获取图片路径

Request Information

URI Parameters

NameDescriptionTypeAdditional information
viewType

类型

ViewTypeEnum

Required

Body Parameters

None.

Response Information

Resource Description

根据类型获取图片路径

Collection of SlideShowModel
NameDescriptionTypeAdditional information
Id

编码

integer

None.

Title

标题

string

None.

ImgPath

图片路径

string

None.

Url

跳转链接

string

None.

Seq

排序

integer

None.

CreateTime

创建时间

date

None.

ViewType

网站类型

ViewTypeEnum

None.

Remark

备注

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "ImgPath": "sample string 3",
    "Url": "sample string 4",
    "Seq": 5,
    "CreateTime": "2022-01-26T17:03:08.0266378+08:00",
    "ViewType": 1,
    "Remark": "sample string 7"
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "ImgPath": "sample string 3",
    "Url": "sample string 4",
    "Seq": 5,
    "CreateTime": "2022-01-26T17:03:08.0266378+08:00",
    "ViewType": 1,
    "Remark": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSlideShowModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Model.Entity.ZX">
  <SlideShowModel>
    <CreateTime>2022-01-26T17:03:08.0266378+08:00</CreateTime>
    <Id>1</Id>
    <ImgPath>sample string 3</ImgPath>
    <Remark>sample string 7</Remark>
    <Seq>5</Seq>
    <Title>sample string 2</Title>
    <Url>sample string 4</Url>
    <ViewType>资讯</ViewType>
  </SlideShowModel>
  <SlideShowModel>
    <CreateTime>2022-01-26T17:03:08.0266378+08:00</CreateTime>
    <Id>1</Id>
    <ImgPath>sample string 3</ImgPath>
    <Remark>sample string 7</Remark>
    <Seq>5</Seq>
    <Title>sample string 2</Title>
    <Url>sample string 4</Url>
    <ViewType>资讯</ViewType>
  </SlideShowModel>
</ArrayOfSlideShowModel>