简要描述:
- 活动详情
请求URL:
GET/plugin.picture-album.frontend.controllers.picture-album.get-activity-by-id
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
mark_id | 是 | int | 相册ID |
mid | 否 | int | 分享者ID |
返回示例:
正确时返回:
{
result: 1,
msg: "ok",
data: {
data: {
member: {
is_business_card: "3",
sharing_avatar: "",
sharing_name: "",
sharing_mobile: "",
position: "",
shop_name: ""
},
picture_album: {
id: 1,
uniacid: 2,
goods_id: null,
picture_name: "测试123",
picture_peo: "0",
color: "#0B2744",
is_background: 1,
background_thumb: "",
audio_url: "http://www.wq.com/web/index.php?c=site&a=entry&m=yun_shop&do=3226&route=plugin.picture-album.admin.controllers.activity.add-activity",
code: "http://www.wq.com/attachment/image/716072067c77a291c3ad6d20d7d17b01.jpg",
phone: "15677222146",
title: "大大大大",
describe: "对方是个法师工会法给收到回复给合适",
share_picture: "http://www.wq.com/attachment/image/e22787dc8397375e5454075d2001419d.png",
created_at: "2020-01-17 14:54:34",
updated_at: "2020-01-17 16:32:18",
is_open: 1,
has_many_goods: [{
id: 1,
uniacid: 2,
picture_image: "http://www.wq.com/attachment/image/a54be42095996f165a68b33da58350d9.jpg",
picture_name: "6666",
p_id: 1,
goods_id: 275,
ranking: 333,
created_at: "2020-01-17 14:56:08",
updated_at: "2020-01-17 18:03:46",
delete_at: null,
has_one_goods: {
id: 275,
uniacid: 2,
brand_id: 0,
type: 1,
status: 0,
display_order: 0,
title: "1",
thumb: "image/464c75fac6a5703bd940a9e7b14f8b31.png",
thumb_url: "a:1:{i:0;s:0:"
";}",
sku: "1",
description: "",
content: "<p><img src="
" width="
100 % " alt="
8. jpg "/></p>",
goods_sn: "",
product_sn: "",
market_price: "11.00",
price: "11.00",
cost_price: "11.00",
stock: 11,
reduce_stock_method: 0,
show_sales: 0,
real_sales: 0,
weight: "0.00",
has_option: 0,
is_new: 0,
is_hot: 0,
is_discount: 0,
is_recommand: 0,
is_comment: 0,
is_deleted: 0,
created_at: "2018-10-26 10:10:58",
deleted_at: null,
updated_at: "2019-01-12 08:42:35",
comment_num: 0,
is_plugin: 1,
plugin_id: 92,
virtual_sales: 0,
goods_video: "",
no_refund: 0,
need_address: 0,
type2: 1,
old_id: null,
status_name: "下架"
}
}]
},
picture: [{
id: 1,
uniacid: 2,
picture_image: "http://www.wq.com/attachment/image/a54be42095996f165a68b33da58350d9.jpg",
picture_name: "6666",
p_id: 1,
goods_id: 275,
ranking: 333,
created_at: "2020-01-17 14:56:08",
updated_at: "2020-01-17 18:03:46",
delete_at: null,
has_one_goods: {
id: 275,
uniacid: 2,
brand_id: 0,
type: 1,
status: 0,
display_order: 0,
title: "1",
thumb: "image/464c75fac6a5703bd940a9e7b14f8b31.png",
thumb_url: "a:1:{i:0;s:0:"
";}",
sku: "1",
description: "",
content: "<p><img src="
" width="
100 % " alt="
8. jpg "/></p>",
goods_sn: "",
product_sn: "",
market_price: "11.00",
price: "11.00",
cost_price: "11.00",
stock: 11,
reduce_stock_method: 0,
show_sales: 0,
real_sales: 0,
weight: "0.00",
has_option: 0,
is_new: 0,
is_hot: 0,
is_discount: 0,
is_recommand: 0,
is_comment: 0,
is_deleted: 0,
created_at: "2018-10-26 10:10:58",
deleted_at: null,
updated_at: "2019-01-12 08:42:35",
comment_num: 0,
is_plugin: 1,
plugin_id: 92,
virtual_sales: 0,
goods_video: "",
no_refund: 0,
need_address: 0,
type2: 1,
old_id: null,
status_name: "下架"
}
}]
}
}
}
错误返回
{
result: 0,
msg: "找不到画册",
data: []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
member | arr | 分享者信息 |
member->is_business_card | int | 3:后台分享(不显示分享者信息),0:分享者会员信息,1:分享者名片信息 |
member->sharing_avatar | str | 分享者头像 |
member->sharing_name | str | 分享者名称 |
member->sharing_mobile | str | 分享者电话 |
member->position | str | 分享者名片职务,会员则显示会员 |
member->shop_name | str | 商城名称 |
picture_album | arr | 画册信息 |
picture_album->id | int | 画册id |
picture_album->uniacid | int | 公众号id |
picture_album->picture_name | str | 相册名称 |
picture_album->picture_peo | int | 浏览人数 |
picture_album->color | str | 背景颜色 |
picture_album->is_background | int | 1:背景色,2:背景图 |
picture_album->background_thumb | str | 背景图 |
picture_album->audio_url | str | 音频链接 |
picture_album->code | str | 客服二维码 |
picture_album->phone | str | 客服电话 |
picture_album->title | str | 分享标题 |
picture_album->describe | str | 分享描述 |
picture_album->share_picture | str | 分享图片 |
picture_album->is_open | int | 是否开启分享,1:开启,0:关闭 |
picture | arr | 图片数据 |
picture->id | int | 图片id |
picture->picture_image | str | 图片 |
picture->picture_name | str | 图片名称 |
picture->p_id | int | 相册id |
picture->goods_id | int | 商品id |
picture->ranking | int | 排序 |
picture->has_one_goods | arr | 商品信息 |