GET api/Notice?shopid={shopid}&state={state}&pageIndex={pageIndex}&pageSize={pageSize}

公告列表

请求信息

URI 参数

参数参数描述类型其它信息
shopid

登录店

string

Required

state

状态(0-未发布1-公告中2-已终止)

string

Required

pageIndex

integer

Required

pageSize

页长度

integer

Required

Body 参数

None.

响应信息

响应描述

公告列表

Collection of cNotice
参数参数描述类型其它信息
id

integer

None.

nflag

string

None.

ntitle

string

None.

ndetail

string

None.

state

string

None.

ndate

string

None.

ntype

string

None.

goodsid

string

None.

GoodsNM

string

None.

GoodsUrl

string

None.

SPrice

decimal number

None.

OPrice

decimal number

None.

响应格式

application/json, text/json

Sample:
[
  {
    "_ID": 1,
    "_NFlag": "sample string 2",
    "_NTitle": "sample string 3",
    "_NDetail": "sample string 4",
    "_State": "sample string 5",
    "_Ndate": "sample string 6",
    "_NType": "sample string 7",
    "_GoodsID": "sample string 8",
    "_GoodsNM": "sample string 9",
    "_GoodsUrl": "sample string 10",
    "_SPrice": 11.0,
    "_OPrice": 12.0
  },
  {
    "_ID": 1,
    "_NFlag": "sample string 2",
    "_NTitle": "sample string 3",
    "_NDetail": "sample string 4",
    "_State": "sample string 5",
    "_Ndate": "sample string 6",
    "_NType": "sample string 7",
    "_GoodsID": "sample string 8",
    "_GoodsNM": "sample string 9",
    "_GoodsUrl": "sample string 10",
    "_SPrice": 11.0,
    "_OPrice": 12.0
  }
]

text/html

Sample:
[{"_ID":1,"_NFlag":"sample string 2","_NTitle":"sample string 3","_NDetail":"sample string 4","_State":"sample string 5","_Ndate":"sample string 6","_NType":"sample string 7","_GoodsID":"sample string 8","_GoodsNM":"sample string 9","_GoodsUrl":"sample string 10","_SPrice":11.0,"_OPrice":12.0},{"_ID":1,"_NFlag":"sample string 2","_NTitle":"sample string 3","_NDetail":"sample string 4","_State":"sample string 5","_Ndate":"sample string 6","_NType":"sample string 7","_GoodsID":"sample string 8","_GoodsNM":"sample string 9","_GoodsUrl":"sample string 10","_SPrice":11.0,"_OPrice":12.0}]