简要描述:
- 拼购活动列表
请求域名:
- http://xx.com
请求URL: 导出为(export)
POST:plugin.together-purchase.admin.order.index
参数:搜索参数基本和商城订单列表一致
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
array:10 [
"list" => array:9 [
"total" => 1
"per_page" => 10
"current_page" => 1
"last_page" => 1
"next_page_url" => null
"prev_page_url" => null
"from" => 1
"to" => 1
"data" => array:1 [
0 => array:64 [
"id" => 1275
"uniacid" => 3
"uid" => 24
"order_sn" => "SN20191118151715et"
"price" => "10000.00"
"goods_price" => "10000.00"
"goods_total" => 1
"status" => 1
"create_time" => "2020-04-21 15:49:09"
"is_deleted" => 0
"is_member_deleted" => 0
"finish_time" => "1970-01-01 08:00:00"
"pay_time" => "2019-11-14 02:27:49"
"send_time" => "1970-01-01 08:00:00"
"cancel_time" => "1970-01-01 08:00:00"
"created_at" => 1587455349
"updated_at" => 1587455349
"deleted_at" => 0
"cancel_pay_time" => "1970-01-01 08:00:00"
"cancel_send_time" => "1970-01-01 08:00:00"
"dispatch_type_id" => 0
"dispatch_price" => "0.00"
"discount_price" => "0.00"
"pay_type_id" => 0
"order_goods_price" => "10000.00"
"deduction_price" => "0.00"
"refund_id" => 0
"is_plugin" => 0
"change_price" => "0.00"
"change_dispatch_price" => "0.00"
"comment_status" => 0
"order_pay_id" => ""
"is_virtual" => 1
"plugin_id" => 59
"mark" => ""
"is_pending" => 0
"no_refund" => 0
"note" => null
"cost_amount" => "10000.00"
"shop_name" => "活动报名:"
"need_address" => 0
"auto_receipt" => 0
"invoice_type" => null
"rise_type" => null
"collect_name" => null
"company_number" => null
"invoice" => null
"fee_amount" => "0.00"
"status_name" => "待发货"
"pay_type_name" => null
"process" => []
"has_one_pay_type" => null
"has_one_staff" => array:23 [
"id" => 1
"uniacid" => 3
"activity_id" => 1
"leader_id" => 1
"order_id" => 1275
"order_sn" => "SN20191118151715et"
"member_id" => 24
"start_time" => "1599268294"
"end_time" => "1600224863"
"pay_effective_time" => null
"state" => 1
"is_leader" => 1
"refund" => 0
"refund_money" => null
"created_at" => "2020-09-08 09:11:34"
"updated_at" => "2020-09-08 09:11:34"
"deleted_at" => null
"is_effective" => 1
"state_name" => "拼购中"
"refund_name" => ""
"has_one_member" => array:53 [
"uid" => 24
"uniacid" => 3
"mobile" => "15220038141"
"email" => ""
"groupid" => 3
"credit1" => "31.90"
"credit2" => "89884.34"
"credit3" => "0.00"
"credit4" => "0.00"
"credit5" => "0.00"
"credit6" => "0.00"
"createtime" => 1502184981
"realname" => "123"
"nickname" => "碳酸果汁"
"signature" => null
"avatar" => "http://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132"
"qq" => ""
"vip" => 0
"gender" => 2
"birthyear" => 2017
"birthmonth" => 10
"birthday" => 16
"constellation" => ""
"zodiac" => ""
"telephone" => "15220038141"
"idcard" => ""
"studentid" => ""
"grade" => ""
"address" => ""
"zipcode" => ""
"nationality" => "中国"
"resideprovince" => "广东省"
"residecity" => "广州市"
"residedist" => ""
"graduateschool" => ""
"company" => ""
"education" => ""
"occupation" => ""
"position" => ""
"revenue" => ""
"affectivestatus" => ""
"lookingfor" => ""
"bloodtype" => ""
"height" => ""
"weight" => ""
"alipay" => ""
"msn" => ""
"taobao" => ""
"site" => ""
"bio" => ""
"interest" => ""
"avatar_image" => "https://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132"
"username" => "碳酸果汁"
]
"has_one_leader" => array:18 [
"id" => 1
"uniacid" => 3
"activity_id" => 1
"order_id" => 1275
"order_sn" => "SN20191118151715et"
"member_id" => 24
"start_time" => "1599268294"
"end_time" => "1600224863"
"state" => 1
"refund" => 0
"parent_id" => null
"created_at" => "2020-09-08 09:11:34"
"updated_at" => "2020-09-08 09:11:34"
"deleted_at" => null
"is_effective" => 1
"state_name" => "拼购中"
"refund_name" => ""
"has_one_member" => array:5 [
"uid" => 24
"avatar" => "http://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132"
"nickname" => "碳酸果汁"
"avatar_image" => "https://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132"
"username" => "碳酸果汁"
]
]
"has_one_activity" => array:27 [
"id" => 1
"uniacid" => 3
"activity_name" => "ceshi"
"goods_id" => 57
"goods_ids" => "57,25"
"goods_name" => "ceshi,ceshi"
"calculation_method" => 1
"buy_proportion" => "20.00"
"buy_money" => "500.00"
"market_price" => "400.00"
"actual_price" => "300.00"
"buy_number" => 4
"limit_time" => "4.00"
"limit_method" => 2
"frequency" => 1
"limit_money" => "400.00"
"service_money" => "20.00"
"refund_money" => "80.00"
"refund_love" => "80.00"
"is_show" => 0
"share_title" => "ceshi"
"share_detail" => "ceshi"
"created_at" => "2020-09-07 14:24:42"
"updated_at" => "2020-09-07 14:24:42"
"deleted_at" => null
"show_name" => "下架"
"has_one_goods" => array:42 [
"id" => 57
"uniacid" => 3
"brand_id" => 0
"type" => 1
"status" => 1
"display_order" => 0
"title" => "图片测试"
"thumb" => "http://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/J0CcTIP0Bn17i6t9JI16zj5C50J1s1.jpg"
"thumb_url" => "a:3:{i:0;s:93:"http://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/EvJ5nch5WxCcUMGd7CgnzhZjtXJJ32.jpg";i:1;s:93:"http://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/hZHlO1heHh1Leqo5Ow21HNHeOH55Eh.jpg";i:2;s:93:"http://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/jutuMbcmkqhI7TXcticeK3HrtMsmqT.jpg";}"
"sku" => "件"
"description" => ""
"content" => "<p><br/></p><p><img src="http://dev3.yunzshop.com/attachment/images/3/2017/12/iJF9Z800tTEUuz8NeKAuKAku899oOV.jpg" width="100%" style=""/></p><p><br/></p><p><img src="http://dev3.yunzshop.com/attachment/images/3/2017/12/Z5wKlZ9Ka111L3F1q11xa7kFYw3s33.jpg" width="100%" alt="科技生活2.jpg"/></p>"
"goods_sn" => ""
"product_sn" => ""
"market_price" => "11.00"
"price" => "11.00"
"cost_price" => "11.00"
"stock" => 110
"reduce_stock_method" => 0
"show_sales" => 10
"real_sales" => 10
"weight" => "0.00"
"has_option" => 1
"is_new" => 0
"is_hot" => 0
"is_discount" => 0
"is_recommand" => 1
"is_comment" => 0
"is_deleted" => 0
"created_at" => "2017-12-04 16:00:39"
"deleted_at" => null
"updated_at" => "2018-01-08 15:54:10"
"comment_num" => 0
"is_plugin" => 0
"plugin_id" => 59
"virtual_sales" => 111
"no_refund" => 0
"need_address" => 0
"type2" => 1
"old_id" => null
"volume" => null
"status_name" => "上架"
]
]
]
"belongs_to_member" => array:8 [
"uid" => 24
"mobile" => "15220038141"
"nickname" => "碳酸果汁"
"realname" => "123"
"avatar" => "http://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132"
"idcard" => ""
"avatar_image" => "https://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132"
"username" => "碳酸果汁"
]
"has_many_order_goods" => array:1 [
0 => array:16 [
"id" => 1169
"goods_id" => 693
"goods_price" => "10000.00"
"total" => 1
"goods_option_title" => ""
"price" => "10000.00"
"goods_market_price" => "10000.00"
"goods_cost_price" => "10000.00"
"thumb" => "https://test-1251768088.cosgz.myqcloud.com/images/3/2019/09/QgjUmjUDSeKkccdKzyIEexeje9uUiU.jpg"
"title" => "美食频道"
"goods_sn" => ""
"payment_amount" => "10000.00"
"deduction_amount" => "0.00"
"goods_thumb" => "https://test-1251768088.cosgz.myqcloud.com/images/3/2019/09/QgjUmjUDSeKkccdKzyIEexeje9uUiU.jpg"
"buttons" => []
"goods" => array:13 [
"id" => 693
"title" => "美食频道"
"status" => 1
"type" => 2
"thumb" => "https://test-1251768088.cosgz.myqcloud.com/images/3/2019/09/QgjUmjUDSeKkccdKzyIEexeje9uUiU.jpg"
"sku" => ""
"market_price" => "10000.00"
"price" => "10000.00"
"cost_price" => "10000.00"
"weight" => "0.00"
"product_sn" => ""
"goods_sn" => ""
"status_name" => "上架"
]
]
]
"has_one_dispatch_type" => null
"address" => null
"express" => null
"has_one_refund_apply" => null
"has_one_order_remark" => null
"has_one_order_pay" => null
"has_many_first_order" => []
"order_deliver" => null
"team" => array:5 [
"leader_name" => "碳酸果汁"
"state" => 1
"state_name" => "拼购中"
"buy_number" => 4
"service_money" => "20.00"
]
]
]
]
"param" => null
"total_price" => "10000.00"
"pager" => ""
"requestSearch" => null
"var" => array:5 [
"uniacid" => "3"
"weid" => "3"
"acid" => "3"
"account" => array:20 [
"acid" => 3
"uniacid" => 3
"token" => "Y3q4QNSOgbP5QulTWZOqaySAJJPLr3LO"
"encodingaeskey" => "EXQBCkMHOOQx18OBo0BnBoSgEr18OeEO1z1RmxX8nxe"
"level" => 4
"name" => "芸众生活"
"account" => "yunzlife"
"original" => "gh_bdaed32fc5a7"
"signature" => ""
"country" => ""
"province" => ""
"city" => ""
"username" => ""
"password" => ""
"lastupdate" => 0
"key" => "wx9bfe63ca96c52f43"
"secret" => "0872927402403d209a76c0a01b3a18be"
"styleid" => 0
"subscribeurl" => ""
"auth_refresh_token" => ""
]
"uid" => null
]
"url" => "plugin.together-purchase.admin.order.index"
"route" => "plugin.together-purchase.admin.order.index"
"detail_url" => "plugin.together-purchase.admin.order.detail"
"include_ops" => "order.ops"
]
错误时返回:
返回参数说明:其他数据基本和商城订单列表一致
参数名 | 类型 | 说明 | |
---|---|---|---|
team | 是 | array | 拼购团队相关数据 |
leader_name | 是 | string | 团长名称 |
state | 是 | string | 拼购状态 |
state_name | 是 | string | 拼购状态 |
buy_number | 是 | string | 活动限购人数 |
service_money | 是 | string | 服务费 |
备注:
- 更多返回错误代码请看首页的错误代码描述