简要描述:
- 装修选项卡
请求URL:
GET/home-page.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | int | 否 | 分页数 |
返回示例:
正确时返回:
{
"id": "M1556522668747",
"temp": "business",
"params": {
"bgcolor": "#fff",
"fontsize": "16px",
"style": "25%"
},
"data": [
{
"id": "business_merchant",
"text": "商家",
"url": "plugin.store-cashier.frontend.store.store.get-store-list",
"is_open": 1,
"sheer": 1,
"award_proportion": "23"
},
{
"id": "business_discount",
"text": "折扣",
"url": "plugin.universal-card.frontend.store-discount.store-data",
"is_open": 1,
"sheer": 0,
"award_proportion": "23"
},
{
"id": "business_coupon",
"text": "优惠卷",
"url": "plugin.store-cashier.frontend.store.aggregate-page.coupon",
"is_open": 1,
"sheer": 0,
"award_proportion": "23"
},
{
"id": "business_goods_gift",
"text": "礼包",
"url": "plugin.store-cashier.frontend.store.aggregate-page.goods-gift",
"is_open": 1,
"sheer": 0,
"award_proportion": "23"
}
],
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
is_open | int | 0:不显示 1:显示 |
text | string | 名称 |
url | int | 请求后端路由 |
备注:
- 更多返回错误代码请看首页的错误代码描述