简要描述:
plugin_setting.coupon_store 新增 collect_tabs 字段
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
collect_tabs | 是 | array | 收藏页面tab数组 |
collect_tabs[].api | 是 | string | 数据获取接口 |
collect_tabs[].del_api | 是 | string | 删除接口 |
collect_tabs[].name | 是 | string | tab名称 |
collect_tabs[].status | 是 | int | 商品1,商户2,上门安装3 |
正确时返回:
"collect_tabs": [
{
"name": "商品",
"status": 1,
"api": "member.member-favorite.index",
"del_api": "member.member-favorite.destroy"
},
{
"name": "商户",
"status": 2,
"api": "plugin.coupon-store.frontend.collection.storeCollectList",
"del_api": "plugin.coupon-store.frontend.collection.destroy"
},
{
"name": "上门安装",
"status": 3,
"api": "plugin.live-install.frontend.worker-list.getCollectList",
"del_api": "plugin.live-install.frontend.worker-list.destroy"
}
]