简要描述:
请求域名:
请求URL:
POST:plugin.business-card.frontend.controllers.card.card.getStoreGoods
参数:
参数名 |
是否必须 |
类型 |
说明 |
card_id |
是 |
int |
名片id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"total": 4,
"per_page": 6,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 4,
"data": [
{
"id": 86,
"uniacid": 5,
"brand_id": 0,
"type": 1,
"status": 1,
"display_order": 0,
"title": "门店商品测试--优惠券",
"thumb": "images/5/2018/07/W48Zvv44V1sHi471vBwwVBG4Ginwwv.jpg",
"thumb_url": "",
"sku": "件",
"description": "",
"content": "",
"goods_sn": "",
"product_sn": "",
"market_price": "10.00",
"price": "100.99",
"cost_price": "10.00",
"stock": 9827,
"reduce_stock_method": 0,
"show_sales": 174,
"real_sales": 174,
"weight": "0.00",
"has_option": 0,
"is_new": 0,
"is_hot": 0,
"is_discount": 0,
"is_recommand": 1,
"is_comment": 0,
"is_deleted": 0,
"created_at": "2018-08-14 11:26:31",
"deleted_at": null,
"updated_at": "2019-04-04 14:34:56",
"comment_num": 0,
"is_plugin": 0,
"plugin_id": 32,
"virtual_sales": 0,
"buy_way": 0,
"no_refund": 0,
"need_address": 0,
"type2": 1,
"store_name": "卡卡",
"store_id": 7,
"change_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/07/W48Zvv44V1sHi471vBwwVBG4Ginwwv.jpg",
"has_one_store_goods": {
"id": 12,
"goods_id": 86,
"store_id": 7,
"created_at": "2018-08-14 11:26:31",
"updated_at": "2018-08-14 11:26:31",
"deleted_at": null,
"has_one_store": {
"id": 7,
"uniacid": 5,
"uid": 95,
"store_name": "卡卡",
"thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/07/KqSQseuVWPrzz2JepvVQlpKqWLjQge.png",
"category_id": 3,
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111002,
"address": "12",
"longitude": "131",
"latitude": "23",
"mobile": "15219025049",
"store_introduce": "1221",
"username": "",
"password": "123456",
"template_id": "",
"salers": "a:1:{i:169;a:4:{s:6:\"openid\";s:28:\"onBsewv8515KmGF0odOhhPsDkj8g\";s:8:\"nickname\";s:0:\"\";s:6:\"avatar\";s:134:\"http://thirdwx.qlogo.cn/mmopen/A6RtV0R3VZ9ibHSrGggzS80hNF2aDROSjjqicKMQre9xmKnAYpicpGxL8clOhht4xFWz5MgmB6IcV9yBhjX30hDxdI4XEMa9VFY/132\";s:3:\"uid\";s:3:\"169\";}}",
"cashier_id": 85,
"created_at": "2018-08-14 11:14:28",
"updated_at": "2019-04-17 11:36:49",
"deleted_at": null,
"business_hours_start": "",
"business_hours_end": "",
"aptitude_imgs": null,
"dispatch_type": [
"1",
"2",
"3"
],
"affiche": "1212",
"user_uid": 22,
"information": "",
"is_black": 0,
"banner_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/08/Wajr9ar6LbtJjIQ76qT9q6tQorBJ9T.png",
"is_hide": 0,
"specify_show": 0,
"operating_state": 0,
"boss_uid": 0,
"audio_open": 0,
"initials": "G",
"validity": 1,
"validity_status": 0,
"full_address": "广东省 广州市 白云区 12",
"dispatch": "支持快递、自提、核销、",
"average_score": 0,
"order_total": 181
}
}
},
{
"id": 108,
"uniacid": 5,
"brand_id": 0,
"type": 1,
"status": 1,
"display_order": 0,
"title": "门店商品权限购买测试",
"thumb": "images/5/2018/08/n93JTF5z6Z625Q33JhlKI23Z23333H.jpg",
"thumb_url": "",
"sku": "件",
"description": "",
"content": "",
"goods_sn": "",
"product_sn": "",
"market_price": "1000.00",
"price": "100.00",
"cost_price": "100.00",
"stock": 93,
"reduce_stock_method": 0,
"show_sales": 9,
"real_sales": 9,
"weight": "0.00",
"has_option": 0,
"is_new": 0,
"is_hot": 0,
"is_discount": 0,
"is_recommand": 1,
"is_comment": 0,
"is_deleted": 0,
"created_at": "2018-08-30 10:18:33",
"deleted_at": null,
"updated_at": "2018-09-29 11:54:50",
"comment_num": 0,
"is_plugin": 0,
"plugin_id": 32,
"virtual_sales": 0,
"buy_way": 0,
"no_refund": 0,
"need_address": 0,
"type2": 1,
"store_name": "卡卡",
"store_id": 7,
"change_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/08/n93JTF5z6Z625Q33JhlKI23Z23333H.jpg",
"has_one_store_goods": {
"id": 17,
"goods_id": 108,
"store_id": 7,
"created_at": "2018-08-30 10:18:33",
"updated_at": "2018-08-30 10:18:33",
"deleted_at": null,
"has_one_store": {
"id": 7,
"uniacid": 5,
"uid": 95,
"store_name": "卡卡",
"thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/07/KqSQseuVWPrzz2JepvVQlpKqWLjQge.png",
"category_id": 3,
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111002,
"address": "12",
"longitude": "131",
"latitude": "23",
"mobile": "15219025049",
"store_introduce": "1221",
"username": "",
"password": "123456",
"template_id": "",
"salers": "a:1:{i:169;a:4:{s:6:\"openid\";s:28:\"onBsewv8515KmGF0odOhhPsDkj8g\";s:8:\"nickname\";s:0:\"\";s:6:\"avatar\";s:134:\"http://thirdwx.qlogo.cn/mmopen/A6RtV0R3VZ9ibHSrGggzS80hNF2aDROSjjqicKMQre9xmKnAYpicpGxL8clOhht4xFWz5MgmB6IcV9yBhjX30hDxdI4XEMa9VFY/132\";s:3:\"uid\";s:3:\"169\";}}",
"cashier_id": 85,
"created_at": "2018-08-14 11:14:28",
"updated_at": "2019-04-17 11:36:49",
"deleted_at": null,
"business_hours_start": "",
"business_hours_end": "",
"aptitude_imgs": null,
"dispatch_type": [
"1",
"2",
"3"
],
"affiche": "1212",
"user_uid": 22,
"information": "",
"is_black": 0,
"banner_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/08/Wajr9ar6LbtJjIQ76qT9q6tQorBJ9T.png",
"is_hide": 0,
"specify_show": 0,
"operating_state": 0,
"boss_uid": 0,
"audio_open": 0,
"initials": "G",
"validity": 1,
"validity_status": 0,
"full_address": "广东省 广州市 白云区 12",
"dispatch": "支持快递、自提、核销、",
"average_score": 0,
"order_total": 181
}
}
},
{
"id": 109,
"uniacid": 5,
"brand_id": 0,
"type": 1,
"status": 1,
"display_order": 0,
"title": "供应商商品1",
"thumb": "images/5/2018/07/W48Zvv44V1sHi471vBwwVBG4Ginwwv.jpg",
"thumb_url": null,
"sku": "件",
"description": "",
"content": "",
"goods_sn": "",
"product_sn": "",
"market_price": "10.00",
"price": "100.00",
"cost_price": "10.00",
"stock": 99,
"reduce_stock_method": 0,
"show_sales": 1,
"real_sales": 1,
"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-09-06 09:06:32",
"deleted_at": null,
"updated_at": "2018-09-07 16:50:25",
"comment_num": 0,
"is_plugin": 0,
"plugin_id": 32,
"virtual_sales": 1,
"buy_way": 0,
"no_refund": 0,
"need_address": 0,
"type2": 1,
"store_name": "卡卡",
"store_id": 7,
"change_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/07/W48Zvv44V1sHi471vBwwVBG4Ginwwv.jpg",
"has_one_store_goods": {
"id": 18,
"goods_id": 109,
"store_id": 7,
"created_at": "2018-09-06 09:06:32",
"updated_at": "2018-09-06 09:06:32",
"deleted_at": null,
"has_one_store": {
"id": 7,
"uniacid": 5,
"uid": 95,
"store_name": "卡卡",
"thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/07/KqSQseuVWPrzz2JepvVQlpKqWLjQge.png",
"category_id": 3,
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111002,
"address": "12",
"longitude": "131",
"latitude": "23",
"mobile": "15219025049",
"store_introduce": "1221",
"username": "",
"password": "123456",
"template_id": "",
"salers": "a:1:{i:169;a:4:{s:6:\"openid\";s:28:\"onBsewv8515KmGF0odOhhPsDkj8g\";s:8:\"nickname\";s:0:\"\";s:6:\"avatar\";s:134:\"http://thirdwx.qlogo.cn/mmopen/A6RtV0R3VZ9ibHSrGggzS80hNF2aDROSjjqicKMQre9xmKnAYpicpGxL8clOhht4xFWz5MgmB6IcV9yBhjX30hDxdI4XEMa9VFY/132\";s:3:\"uid\";s:3:\"169\";}}",
"cashier_id": 85,
"created_at": "2018-08-14 11:14:28",
"updated_at": "2019-04-17 11:36:49",
"deleted_at": null,
"business_hours_start": "",
"business_hours_end": "",
"aptitude_imgs": null,
"dispatch_type": [
"1",
"2",
"3"
],
"affiche": "1212",
"user_uid": 22,
"information": "",
"is_black": 0,
"banner_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/08/Wajr9ar6LbtJjIQ76qT9q6tQorBJ9T.png",
"is_hide": 0,
"specify_show": 0,
"operating_state": 0,
"boss_uid": 0,
"audio_open": 0,
"initials": "G",
"validity": 1,
"validity_status": 0,
"full_address": "广东省 广州市 白云区 12",
"dispatch": "支持快递、自提、核销、",
"average_score": 0,
"order_total": 181
}
}
},
{
"id": 153,
"uniacid": 5,
"brand_id": 0,
"type": 1,
"status": 1,
"display_order": 0,
"title": "招商员分红",
"thumb": "images/5/2018/08/n93JTF5z6Z625Q33JhlKI23Z23333H.jpg",
"thumb_url": "a:1:{i:0;s:51:\"images/5/2018/08/n93JTF5z6Z625Q33JhlKI23Z23333H.jpg\";}",
"sku": "件",
"description": "",
"content": "",
"goods_sn": "",
"product_sn": "",
"market_price": "10.00",
"price": "100.00",
"cost_price": "10.00",
"stock": 91,
"reduce_stock_method": 0,
"show_sales": 9,
"real_sales": 9,
"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": "2019-04-03 13:31:29",
"deleted_at": null,
"updated_at": "2019-04-17 18:28:53",
"comment_num": 0,
"is_plugin": 0,
"plugin_id": 32,
"virtual_sales": 0,
"buy_way": 0,
"no_refund": 0,
"need_address": 0,
"type2": 1,
"store_name": "卡卡",
"store_id": 7,
"change_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/08/n93JTF5z6Z625Q33JhlKI23Z23333H.jpg",
"has_one_store_goods": {
"id": 29,
"goods_id": 153,
"store_id": 7,
"created_at": "2019-04-03 13:31:29",
"updated_at": "2019-04-03 13:31:29",
"deleted_at": null,
"has_one_store": {
"id": 7,
"uniacid": 5,
"uid": 95,
"store_name": "卡卡",
"thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/07/KqSQseuVWPrzz2JepvVQlpKqWLjQge.png",
"category_id": 3,
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111002,
"address": "12",
"longitude": "131",
"latitude": "23",
"mobile": "15219025049",
"store_introduce": "1221",
"username": "",
"password": "123456",
"template_id": "",
"salers": "a:1:{i:169;a:4:{s:6:\"openid\";s:28:\"onBsewv8515KmGF0odOhhPsDkj8g\";s:8:\"nickname\";s:0:\"\";s:6:\"avatar\";s:134:\"http://thirdwx.qlogo.cn/mmopen/A6RtV0R3VZ9ibHSrGggzS80hNF2aDROSjjqicKMQre9xmKnAYpicpGxL8clOhht4xFWz5MgmB6IcV9yBhjX30hDxdI4XEMa9VFY/132\";s:3:\"uid\";s:3:\"169\";}}",
"cashier_id": 85,
"created_at": "2018-08-14 11:14:28",
"updated_at": "2019-04-17 11:36:49",
"deleted_at": null,
"business_hours_start": "",
"business_hours_end": "",
"aptitude_imgs": null,
"dispatch_type": [
"1",
"2",
"3"
],
"affiche": "1212",
"user_uid": 22,
"information": "",
"is_black": 0,
"banner_thumb": "https://dev1.yunzshop.com/attachment/images/5/2018/08/Wajr9ar6LbtJjIQ76qT9q6tQorBJ9T.png",
"is_hide": 0,
"specify_show": 0,
"operating_state": 0,
"boss_uid": 0,
"audio_open": 0,
"initials": "G",
"validity": 1,
"validity_status": 0,
"full_address": "广东省 广州市 白云区 12",
"dispatch": "支持快递、自提、核销、",
"average_score": 0,
"order_total": 181
}
}
}
]
}
}
返回参数说明:
参数名 |
类型 |
说明 |
result |
int |
0:失败,1:成功 |
msg |
string |
提示消息 |
data |
array |
返回数据 |
返回参数 data 说明:
备注: