[TOC=3,3]
### 实物订单列表
~~~[api]
post:/index.php?ctl=Buyer_Order&met=physical&typ=json
*string:u#u
*string:k#k
*string:firstRow#firstRow
*string:status#status
*string:orderkey#orderkey
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 11,
"totalsize": "101",
"records": "101",
"items": [
{
"order_id": "DD-10003-2-102-20180411104403-0001",
"shop_id": "2",
"shop_name": "爱咋咋地",
"buyer_user_id": "10029",
"buyer_user_name": "13333333333",
"seller_user_id": "10003",
"seller_user_name": "zade",
"order_date": "2018-04-11",
"order_create_time": "2018-04-11 10:44:03",
"order_receiver_name": "55555555555",
"order_receiver_address": "辽宁 鞍山市 台安县 23123",
"order_receiver_contact": "13345667221",
"order_receiver_date": "0000-00-00 00:00:00",
"payment_id": "1",
"payment_name": "在线支付",
"payment_time": "2018-04-11 10:44:46",
"payment_number": "U20180411104403139",
"payment_other_number": "U20180411104403732",
"order_seller_name": "2342343",
"order_seller_address": "北京 东城区 234242",
"order_seller_contact": "13344556666",
"order_shipping_time": "0000-00-00 00:00:00",
"order_shipping_express_id": "0",
"order_shipping_code": "",
"order_shipping_message": "",
"order_finished_time": "0000-00-00 00:00:00",
"order_invoice": "不需要发票",
"order_invoice_id": "0",
"order_goods_amount": "0.01",
"order_payment_amount": "0.01",
"order_discount_fee": "0.00",
"order_point_fee": "0.00",
"order_shipping_fee": "0.00",
"order_buyer_evaluation_status": "0",
"order_buyer_evaluation_time": "0000-00-00 00:00:00",
"order_seller_evaluation_status": "0",
"order_seller_evaluation_time": "0000-00-00 00:00:00",
"order_message": "",
"order_status": "2",
"order_points_add": "0",
"voucher_id": "0",
"voucher_price": "0.00",
"voucher_code": "",
"order_refund_status": "0",
"order_return_status": "0",
"order_refund_amount": "0.00",
"order_return_num": "0",
"order_from": "2",
"order_commission_fee": "0.00",
"order_commission_return_fee": "0.00",
"order_is_virtual": "0",
"order_virtual_code": "",
"order_virtual_use": "0",
"order_shop_hidden": "0",
"order_buyer_hidden": "0",
"order_subuser_hidden": "0",
"order_cancel_identity": "0",
"order_cancel_reason": "",
"order_cancel_date": "0000-00-00 00:00:00",
"order_shop_benefit": "",
"chain_id": "0",
"order_seller_message": "",
"directseller_flag": "0",
"directseller_p_id": "0",
"redpacket_code": "0",
"redpacket_price": "0.00",
"order_rpt_price": "0.00",
"order_rpt_return": "0.00",
"order_settlement_time": "0000-00-00 00:00:00",
"order_is_settlement": "0",
"shop_distributor_id": "0",
"order_distribution_seller_type": "1",
"order_distribution_buyer_type": "1",
"order_source_id": "0",
"directseller_gp_id": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"district_id": "38",
"user_district_id": "0",
"order_sub_pay": "0",
"order_sub_user": "0",
"order_directseller_commission": "0.00",
"directseller_discount": "0.00",
"order_user_discount": "0.00",
"id": "DD-10003-2-102-20180411104403-0001",
"express_name": "",
"pintuan_temp_order": 1,
"order_state_con": "已付款",
"order_refund_status_con": "无退款",
"complain_day": null,
"complain_status": 0,
"goods_list": [
{
"order_goods_id": "521",
"order_id": "DD-10003-2-102-20180411104403-0001",
"goods_id": "96",
"common_id": "84",
"buyer_user_id": "10029",
"goods_name": "Vans/范斯秋季黑色/中性款短袖T恤|VN0A33ZLBLK/",
"goods_class_id": "137",
"spec_id": "0",
"order_spec_info": [],
"goods_price": "220.00",
"order_goods_num": "1",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180404/1522831230462935.jpg!500x500.jpg",
"order_goods_returnnum": "0",
"order_goods_amount": "0.01",
"order_goods_discount_fee": "0.00",
"order_goods_payment_amount": "0.01",
"order_goods_adjust_fee": "0.00",
"order_goods_point_fee": "0.00",
"order_goods_commission": "0.00",
"shop_id": "2",
"order_goods_status": "2",
"order_goods_evaluation_status": "0",
"order_goods_benefit": "",
"goods_return_status": "0",
"goods_refund_status": "0",
"order_goods_time": "2018-04-11 10:44:03",
"directseller_flag": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"directseller_commission_0": "0.00",
"directseller_commission_1": "0.00",
"directseller_commission_2": "0.00",
"directseller_goods_discount": "0.00",
"order_goods_source_id": "",
"order_goods_source_ship": "",
"order_goods_finish_time": "0000-00-00 00:00:00",
"id": "521",
"spec_text": "",
"evaluation_count": 0,
"goods_refund_status_con": "无退货",
"goods_return_status_con": "无退款",
"old_price": "220.00",
"order_refund_id": null,
"order_return_id": null,
"title_order_spec_info": ""
}
],
"order_nums": 1,
"pintuan_person_num": "5",
"pintuan_type": "0",
"evala_status": 1
}
],
"complain_datetime": "2"
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 虚拟订单列表
~~~[api]
post:/index.php?ctl=Buyer_Order&met=virtual&typ=json
*string:u#u
*string:k#k
*string:firstRow#firstRow
*string:status#status
*string:orderkey#orderkey
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 3,
"totalsize": "23",
"records": "23",
"items": [
{
"order_id": "DD-10003-2-102-20180410194531-0001",
"shop_id": "2",
"shop_name": "爱咋咋地",
"buyer_user_id": "10029",
"buyer_user_name": "13333333333",
"seller_user_id": "10003",
"seller_user_name": "zade",
"order_date": "2018-04-10",
"order_create_time": "2018-04-10 19:45:31",
"order_receiver_name": "13333333333",
"order_receiver_address": "",
"order_receiver_contact": "13072170343",
"order_receiver_date": "2018-07-31 00:00:00",
"payment_id": "1",
"payment_name": "在线支付",
"payment_time": "2018-04-10 19:45:53",
"payment_number": "U20180410074531819",
"payment_other_number": "U20180410074531920",
"order_seller_name": "2342343",
"order_seller_address": "北京 东城区 234242",
"order_seller_contact": "13344556666",
"order_shipping_time": "2018-04-10 19:45:54",
"order_shipping_express_id": "0",
"order_shipping_code": "",
"order_shipping_message": "",
"order_finished_time": "2018-04-10 19:46:30",
"order_invoice": "",
"order_invoice_id": "0",
"order_goods_amount": "0.01",
"order_payment_amount": "0.01",
"order_discount_fee": "0.00",
"order_point_fee": "0.00",
"order_shipping_fee": "0.00",
"order_buyer_evaluation_status": "0",
"order_buyer_evaluation_time": "0000-00-00 00:00:00",
"order_seller_evaluation_status": "0",
"order_seller_evaluation_time": "0000-00-00 00:00:00",
"order_message": "24233424",
"order_status": "6",
"order_points_add": "0",
"voucher_id": "0",
"voucher_price": "0.00",
"voucher_code": "0",
"order_refund_status": "0",
"order_return_status": "0",
"order_refund_amount": "0.01",
"order_return_num": "1",
"order_from": "1",
"order_commission_fee": "0.00",
"order_commission_return_fee": "0.00",
"order_is_virtual": "1",
"order_virtual_code": "",
"order_virtual_use": "0",
"order_shop_hidden": "0",
"order_buyer_hidden": "0",
"order_subuser_hidden": "0",
"order_cancel_identity": "0",
"order_cancel_reason": "",
"order_cancel_date": "0000-00-00 00:00:00",
"order_shop_benefit": "",
"chain_id": "0",
"order_seller_message": "",
"directseller_flag": "0",
"directseller_p_id": "0",
"redpacket_code": "",
"redpacket_price": "0.00",
"order_rpt_price": "0.00",
"order_rpt_return": "0.00",
"order_settlement_time": "0000-00-00 00:00:00",
"order_is_settlement": "0",
"shop_distributor_id": "0",
"order_distribution_seller_type": "1",
"order_distribution_buyer_type": "1",
"order_source_id": "0",
"directseller_gp_id": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"district_id": "38",
"user_district_id": "0",
"order_sub_pay": "0",
"order_sub_user": "0",
"order_directseller_commission": "0.00",
"directseller_discount": "0.00",
"order_user_discount": "0.00",
"id": "DD-10003-2-102-20180410194531-0001",
"express_name": "",
"pintuan_temp_order": 0,
"order_state_con": "已完成",
"order_refund_status_con": "无退款",
"complain_day": null,
"complain_status": 0,
"goods_list": [
{
"order_goods_id": "508",
"order_id": "DD-10003-2-102-20180410194531-0001",
"goods_id": "26",
"common_id": "21",
"buyer_user_id": "10029",
"goods_name": "100元电话卡",
"goods_class_id": "10",
"spec_id": "0",
"order_spec_info": [],
"goods_price": "0.01",
"order_goods_num": "1",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180310/1520674442506373.jpeg",
"order_goods_returnnum": "1",
"order_goods_amount": "0.01",
"order_goods_discount_fee": "0.00",
"order_goods_payment_amount": "0.01",
"order_goods_adjust_fee": "0.00",
"order_goods_point_fee": "0.00",
"order_goods_commission": "0.00",
"shop_id": "2",
"order_goods_status": "4",
"order_goods_evaluation_status": "0",
"order_goods_benefit": "",
"goods_return_status": "2",
"goods_refund_status": "0",
"order_goods_time": "2018-04-10 19:45:31",
"directseller_flag": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"directseller_commission_0": "0.00",
"directseller_commission_1": "0.00",
"directseller_commission_2": "0.00",
"directseller_goods_discount": "0.00",
"order_goods_source_id": "",
"order_goods_source_ship": "",
"order_goods_finish_time": "0000-00-00 00:00:00",
"id": "508",
"spec_text": "",
"evaluation_count": 0,
"goods_refund_status_con": "无退货",
"goods_return_status_con": "退款完成",
"old_price": "100.00",
"order_refund_id": null,
"order_return_id": "142",
"title_order_spec_info": ""
}
],
"order_nums": 1
}
]
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 订单详情
~~~[api]
post:/index.php?ctl=Buyer_Order&met=physical&typ=json
*string:u#u
*string:k#k
*string:order_id#order_id
*string:act=details#act
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"order_id": "DD-10003-2-102-20180411104403-0001",
"shop_id": "2",
"shop_name": "爱咋咋地",
"buyer_user_id": "10029",
"buyer_user_name": "13333333333",
"seller_user_id": "10003",
"seller_user_name": "zade",
"order_date": "2018-04-11",
"order_create_time": "2018-04-11 10:44:03",
"order_receiver_name": "55555555555",
"order_receiver_address": "辽宁 鞍山市 台安县 23123",
"order_receiver_contact": "13345667221",
"order_receiver_date": "0000-00-00 00:00:00",
"payment_id": "1",
"payment_name": "在线支付",
"payment_time": "2018-04-11 10:44:46",
"payment_number": "U20180411104403139",
"payment_other_number": "U20180411104403732",
"order_seller_name": "2342343",
"order_seller_address": "北京 东城区 234242",
"order_seller_contact": "13344556666",
"order_shipping_time": "0000-00-00 00:00:00",
"order_shipping_express_id": "0",
"order_shipping_code": "",
"order_shipping_message": "",
"order_finished_time": "0000-00-00 00:00:00",
"order_invoice": "不需要发票",
"order_invoice_id": "0",
"order_goods_amount": "0.01",
"order_payment_amount": "0.01",
"order_discount_fee": "0.00",
"order_point_fee": "0.00",
"order_shipping_fee": "0.00",
"order_buyer_evaluation_status": "0",
"order_buyer_evaluation_time": "0000-00-00 00:00:00",
"order_seller_evaluation_status": "0",
"order_seller_evaluation_time": "0000-00-00 00:00:00",
"order_message": "",
"order_status": "2",
"order_points_add": "0",
"voucher_id": "0",
"voucher_price": "0.00",
"voucher_code": "",
"order_refund_status": "0",
"order_return_status": "0",
"order_refund_amount": "0.00",
"order_return_num": "0",
"order_from": "2",
"order_commission_fee": "0.00",
"order_commission_return_fee": "0.00",
"order_is_virtual": "0",
"order_virtual_code": "",
"order_virtual_use": "0",
"order_shop_hidden": "0",
"order_buyer_hidden": "0",
"order_subuser_hidden": "0",
"order_cancel_identity": "0",
"order_cancel_reason": "",
"order_cancel_date": "0000-00-00 00:00:00",
"order_shop_benefit": "",
"chain_id": "0",
"order_seller_message": "",
"directseller_flag": "0",
"directseller_p_id": "0",
"redpacket_code": "0",
"redpacket_price": "0.00",
"order_rpt_price": "0.00",
"order_rpt_return": "0.00",
"order_settlement_time": "0000-00-00 00:00:00",
"order_is_settlement": "0",
"shop_distributor_id": "0",
"order_distribution_seller_type": "1",
"order_distribution_buyer_type": "1",
"order_source_id": "0",
"directseller_gp_id": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"district_id": "38",
"user_district_id": "0",
"order_sub_pay": "0",
"order_sub_user": "0",
"order_directseller_commission": "0.00",
"directseller_discount": "0.00",
"order_user_discount": "0.00",
"id": "DD-10003-2-102-20180411104403-0001",
"order_state_con": "已付款",
"order_refund_status_con": "无退款",
"complain_day": null,
"complain_status": 0,
"order_buyer_evaluation_status_con": "is_uevaluate",
"shop_address": "",
"shop_phone": "",
"shop_self_support": "false",
"shop_logo": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522651794986295.jpg!200x60.jpg",
"pintuan_temp": 1,
"goods_list": [
{
"order_goods_id": "521",
"order_id": "DD-10003-2-102-20180411104403-0001",
"goods_id": "96",
"common_id": "84",
"buyer_user_id": "10029",
"goods_name": "Vans/范斯秋季黑色/中性款短袖T恤|VN0A33ZLBLK/",
"goods_class_id": "137",
"spec_id": "0",
"order_spec_info": [],
"goods_price": "220.00",
"order_goods_num": "1",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180404/1522831230462935.jpg!500x500.jpg",
"order_goods_returnnum": "0",
"order_goods_amount": "0.01",
"order_goods_discount_fee": "0.00",
"order_goods_payment_amount": "0.01",
"order_goods_adjust_fee": "0.00",
"order_goods_point_fee": "0.00",
"order_goods_commission": "0.00",
"shop_id": "2",
"order_goods_status": "2",
"order_goods_evaluation_status": "0",
"order_goods_benefit": "",
"goods_return_status": "0",
"goods_refund_status": "0",
"order_goods_time": "2018-04-11 10:44:03",
"directseller_flag": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"directseller_commission_0": "0.00",
"directseller_commission_1": "0.00",
"directseller_commission_2": "0.00",
"directseller_goods_discount": "0.00",
"order_goods_source_id": "",
"order_goods_source_ship": "",
"order_goods_finish_time": "0000-00-00 00:00:00",
"id": "521",
"evaluation_count": 0,
"goods_refund_status_con": "无退货",
"goods_return_status_con": "无退款",
"order_refund_id": null,
"order_return_id": null,
"pintuan_temp_order": 1,
"spec_text": ""
}
],
"is_open_im": 1
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 删除订单
~~~[api]
post:/index.php?ctl=Buyer_Order&met=hideOrder&typ=json
*string:u#u
*string:k#k
*string:user=buyer#user
*string:order_id#order_id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 评价订单页面
~~~[api]
post:/index.php?ctl=Buyer_Order&met=evaluation&typ=json
*string:u#u
*string:k#k
*string:order_id#order_id
*string:act=add#act
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"order_base": {
"order_id": "DD-10003-2-102-20180410193739-0001",
"shop_id": "2",
"shop_name": "爱咋咋地",
"buyer_user_id": "10029",
"buyer_user_name": "13333333333",
"seller_user_id": "10003",
"seller_user_name": "zade",
"order_date": "2018-04-10",
"order_create_time": "2018-04-10 19:37:39",
"order_receiver_name": "35453535354435435",
"order_receiver_address": "上海 虹口区5555555555",
"order_receiver_contact": "13072170343",
"order_receiver_date": "2018-04-17 19:38:11",
"payment_id": "1",
"payment_name": "在线支付",
"payment_time": "2018-04-10 19:37:55",
"payment_number": "U20180410073739438",
"payment_other_number": "U20180410073739438",
"order_seller_name": "2342343",
"order_seller_address": "北京 东城区 234242",
"order_seller_contact": "13344556666",
"order_shipping_time": "2018-04-10 19:38:11",
"order_shipping_express_id": "63",
"order_shipping_code": "224324243242",
"order_shipping_message": "",
"order_finished_time": "2018-04-10 19:40:36",
"order_invoice": "不需要发票",
"order_invoice_id": "0",
"order_goods_amount": "0.01",
"order_payment_amount": "0.01",
"order_discount_fee": "0.00",
"order_point_fee": "0.00",
"order_shipping_fee": "0.00",
"order_buyer_evaluation_status": "0",
"order_buyer_evaluation_time": "0000-00-00 00:00:00",
"order_seller_evaluation_status": "0",
"order_seller_evaluation_time": "0000-00-00 00:00:00",
"order_message": "",
"order_status": "6",
"order_points_add": "0",
"voucher_id": "0",
"voucher_price": "0.00",
"voucher_code": "0",
"order_refund_status": "0",
"order_return_status": "0",
"order_refund_amount": "0.01",
"order_return_num": "1",
"order_from": "2",
"order_commission_fee": "0.00",
"order_commission_return_fee": "0.00",
"order_is_virtual": "0",
"order_virtual_code": "",
"order_virtual_use": "0",
"order_shop_hidden": "0",
"order_buyer_hidden": "0",
"order_subuser_hidden": "0",
"order_cancel_identity": "0",
"order_cancel_reason": "",
"order_cancel_date": "0000-00-00 00:00:00",
"order_shop_benefit": "",
"chain_id": "0",
"order_seller_message": "",
"directseller_flag": "0",
"directseller_p_id": "0",
"redpacket_code": "",
"redpacket_price": "0.00",
"order_rpt_price": "0.00",
"order_rpt_return": "0.00",
"order_settlement_time": "0000-00-00 00:00:00",
"order_is_settlement": "0",
"shop_distributor_id": "0",
"order_distribution_seller_type": "1",
"order_distribution_buyer_type": "1",
"order_source_id": "0",
"directseller_gp_id": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"district_id": "38",
"user_district_id": "0",
"order_sub_pay": "0",
"order_sub_user": "0",
"order_directseller_commission": "0.00",
"directseller_discount": "0.00",
"order_user_discount": "0.00",
"id": "DD-10003-2-102-20180410193739-0001"
},
"user_info": {
"user_id": "10029",
"user_realname": "666",
"user_mobile": "13333333333",
"user_email": "",
"user_type_id": "0",
"user_level_id": "1",
"user_active_time": "2018-03-19 16:01:14",
"user_remark": "",
"user_name": "13333333333",
"user_sex": "2",
"user_birthday": "2017-05-31",
"user_mobile_verify": "0",
"user_email_verify": "0",
"user_cash": "0.00",
"user_freeze_cash": "0.00",
"user_provinceid": "30",
"user_cityid": "470",
"user_areaid": "4907",
"user_area": "宁夏 银川市 永宁县",
"user_logo": "https://sassucenter.local.yuanfeng021.com/ucenter/data/upload/images/1523413657.png",
"user_hobby": "0",
"user_points": "0",
"user_freeze_points": "0",
"user_growth": "0",
"user_statu": "0",
"user_ip": "114.95.158",
"user_lastip": "114.95.158",
"user_regtime": "2018-03-19 16:01:14",
"user_logintime": "2018-04-11 14:16:01",
"lastlogintime": "2018-04-11 14:08:45",
"user_invite": "",
"user_grade": "4",
"user_update_date": "0000-00-00 00:00:00",
"user_drp_id": "0",
"user_qq": "",
"user_report": "1",
"user_buy": "1",
"user_talk": "1",
"user_ww": "",
"user_am": "",
"user_parent_id": "0",
"user_directseller_commission": "0.00",
"user_directseller_shop": null,
"user_bt_status": "0",
"shop_id": "2",
"id": "10029"
},
"shop_base": {
"shop_id": "2",
"user_id": "10003",
"user_name": "zade",
"shop_name": "爱咋咋地",
"shop_grade_id": "1",
"shop_class_id": "1",
"shop_all_class": "0",
"shop_self_support": "false",
"shop_business": "1",
"shop_create_time": "2018-02-26 16:15:14",
"shop_end_time": "2028-02-26 16:15:14",
"shop_latitude": "",
"shop_longitude": "",
"shop_settlement_cycle": "30",
"shop_settlement_last_time": "2018-03-28 23:59:59",
"shop_points": "0",
"shop_logo": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522651794986295.jpg!200x60.jpg",
"shop_banner": "",
"shop_status": "3",
"shop_close_reason": "",
"shop_praise_rate": "0.00",
"shop_desccredit": "0.00",
"shop_servicecredit": "0.00",
"shop_deliverycredit": "0.00",
"shop_collect": "1",
"shop_template": "default",
"shop_workingtime": "09:00~18:00",
"shop_slide": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652457764210.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652466531258.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180403/1522746934572986.jpg,,",
"shop_slideurl": "https://,https://,https://,https://,https://",
"shop_domain": "SaaS",
"shop_region": "",
"shop_address": "",
"shop_qq": "",
"shop_ww": "",
"shop_tel": "",
"shop_free_shipping": "99999",
"shop_account": "",
"shop_payment": "1",
"joinin_year": "10",
"is_renovation": "0",
"is_only_renovation": "0",
"is_index_left": "0",
"shop_print_desc": "66666666",
"shop_stamp": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180331/1522489868615678.png!120x120.png",
"shop_parent_id": "0",
"shop_type": "1",
"district_id": "38",
"shop_verify_reason": "qqq",
"shop_common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\n",
"shop_contract_return": "1",
"shop_contract_breakage": "0",
"shop_contract_quality": "1",
"shop_contract_extreme": "1",
"id": "2"
},
"order_goods": [
{
"order_goods_id": "505",
"order_id": "DD-10003-2-102-20180410193739-0001",
"goods_id": "165",
"common_id": "107",
"buyer_user_id": "10029",
"goods_name": "格力空调",
"goods_class_id": "172",
"spec_id": "0",
"order_spec_info": [],
"goods_price": "0.01",
"order_goods_num": "1",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180410/1523348992869110.jpg!500x500.jpg",
"order_goods_returnnum": "1",
"order_goods_amount": "0.01",
"order_goods_discount_fee": "0.00",
"order_goods_payment_amount": "0.01",
"order_goods_adjust_fee": "0.00",
"order_goods_point_fee": "0.00",
"order_goods_commission": "0.00",
"shop_id": "2",
"order_goods_status": "6",
"order_goods_evaluation_status": "0",
"order_goods_benefit": "团购:直降¥49.99 ",
"goods_return_status": "0",
"goods_refund_status": "2",
"order_goods_time": "2018-04-10 19:37:39",
"directseller_flag": "0",
"directseller_id": "0",
"directseller_is_settlement": "0",
"directseller_commission_0": "0.00",
"directseller_commission_1": "0.00",
"directseller_commission_2": "0.00",
"directseller_goods_discount": "0.00",
"order_goods_source_id": "",
"order_goods_source_ship": "",
"order_goods_finish_time": "0000-00-00 00:00:00",
"id": "505"
}
]
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 提交评价
~~~[api]
post:/index.php?ctl=Goods_Evaluation&met=addGoodsEvaluation&typ=json
*string:u#u
*string:k#k
*string:app#app
*string:evaluation#evaluation
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": 1,
"data": {
"request": {
"k": "UnVXJFFrDnJUXltlU2YBb1Q3BWZVZA5mVWUJLg1tUWhVZlE4AzJaC1VpADMKZgZlViIHJ1Y/W24HfgtVVD4DNlI9V2c=",
"u": "10029",
"app": "1",
"evaluation": "[[\"505\",\"5\",\"good\",\"1本来\",\"\"]]",
"ctl": "Goods_Evaluation",
"met": "addGoodsEvaluation",
"typ": "json"
}
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 评价上传图片
~~~[api]
post:/index.php?ctl=Upload&action=uploadImage&typ=json
*string:upfile#upfile
*string:base64=1#base64
<<<
success
{
"state": "SUCCESS",
"url_prefix": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload",
"url_path": "/media/plantform/387d536e023f4e709a49c33d94dd622f/image/20180411/1523433989534484.png",
"url": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/plantform/387d536e023f4e709a49c33d94dd622f/image/20180411/1523433989534484.png",
"title": "1523433989534484.png",
"original": "remote.png",
"type": ".png",
"size": 3851
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 评价详情
~~~[api]
post:/index.php?ctl=Buyer_Order&met=getEvaluationByOrderId&typ=json
*string:u#u
*string:k#k
*string:order_id#order_id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": [
[
{
"evaluation_goods_id": "91",
"user_id": "10029",
"member_name": "13333333333",
"order_id": "DD-10003-2-102-20180410193739-0001",
"shop_id": "2",
"shop_name": "爱咋咋地",
"common_id": "107",
"goods_id": "165",
"goods_name": "格力空调",
"goods_price": "0.01",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180410/1523348992869110.jpg!500x500.jpg",
"scores": "5",
"result": "good",
"content": "1本来",
"image": "",
"isanonymous": "0",
"create_time": "2018-04-11 14:22:51",
"status": "1",
"explain_content": "",
"update_time": "0000-00-00 00:00:00",
"evaluation_from": "1",
"id": "91",
"image_row": [],
"order_spec_info": "",
"order_goods_num": "1",
"order_goods_evaluation_status": "1"
}
]
]
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 购买虚拟物品
~~~[api]
post:/index.php?ctl=Buyer_Cart&met=buyVirtual&typ=json
*string:u#u
*string:k#k
*string:goods_id#goods_id
*string:goods_num#goods_num
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"goods_base": {
"goods_id": "26",
"common_id": "21",
"shop_id": "2",
"shop_name": "爱咋咋地",
"goods_name": "100元电话卡",
"goods_promotion_tips": "",
"cat_id": "10",
"brand_id": "0",
"goods_spec": null,
"goods_price": "98.00",
"goods_market_price": "100.00",
"goods_stock": "994",
"goods_alarm": "0",
"goods_code": "444",
"goods_barcode": "",
"goods_is_recommend": "1",
"goods_click": "160",
"goods_salenum": "2",
"goods_collect": "4",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180310/1520674442506373.jpeg",
"color_id": "0",
"goods_evaluation_good_star": "5",
"goods_evaluation_count": "1",
"goods_max_sale": "0",
"goods_is_shelves": "1",
"goods_recommended_price": "0.00",
"goods_recommended_min_price": "0.00",
"goods_recommended_max_price": "0.00",
"goods_parent_id": "0",
"id": "26",
"groupbuy_info": [],
"xianshi_info": [],
"increase_info": [],
"pintuan_info": [],
"spec": [],
"spec_str": "",
"spec_val_str": "",
"have_gift": "",
"old_price": 0,
"now_price": "98.00",
"down_price": 0,
"cart_num": 1,
"sumprice": 98
},
"common_base": {
"common_id": "21",
"common_name": "100元电话卡",
"common_promotion_tips": "",
"cat_id": "10",
"cat_name": "生活用品 > 111 > 添加分类1",
"shop_id": "2",
"shop_name": "爱咋咋地",
"shop_cat_id": ",,",
"shop_goods_cat_id": 0,
"goods_id": [
{
"goods_id": "26",
"color": 0
}
],
"shop_self_support": "0",
"shop_status": "3",
"common_property": null,
"common_spec_name": null,
"common_spec_value": null,
"brand_id": "0",
"brand_name": "",
"type_id": "0",
"common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180310/1520674442506373.jpeg",
"common_packing_list": "",
"common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。a",
"common_state": "1",
"common_state_remark": "",
"common_verify": "1",
"common_verify_remark": "",
"common_add_time": "2018-03-12 10:33:04",
"common_sell_time": "2018-03-12 10:33:04",
"common_price": "98.00",
"common_market_price": "100.00",
"common_cost_price": "0.00",
"common_stock": "994",
"common_limit": "0",
"common_alarm": "0",
"common_code": "444",
"common_platform_code": "0",
"common_cubage": "1.00",
"common_collect": "0",
"common_evaluate": "1",
"common_salenum": "2",
"common_invoices": "1",
"common_is_return": "0",
"common_formatid_top": "0",
"common_formatid_bottom": "0",
"common_is_recommend": "1",
"common_is_virtual": "1",
"common_virtual_date": "2018-07-31",
"common_virtual_refund": "1",
"transport_type_id": "0",
"common_location": null,
"common_is_tuan": "1",
"common_is_xian": "0",
"common_is_jia": "0",
"common_shop_contract_1": "0",
"common_shop_contract_2": "0",
"common_shop_contract_3": "1",
"common_shop_contract_4": "1",
"common_shop_contract_5": "0",
"common_shop_contract_6": "0",
"cps_rate": "0",
"second_cps_rate": "0",
"third_cps_rate": "0",
"common_cps_rate": "0.00",
"common_second_cps_rate": "0.00",
"common_third_cps_rate": "0.00",
"common_is_directseller": "0",
"product_lock_flag": "0",
"product_agent_id": "0",
"district_id": "38",
"supply_shop_id": "0",
"product_is_allow_update": "1",
"product_is_allow_price": "1",
"product_is_behalf_delivery": "1",
"common_parent_id": "0",
"goods_recommended_min_price": "0.00",
"goods_recommended_max_price": "0.00",
"product_distributor_flag": "0",
"common_distributor_description": null,
"common_distributor_flag": "0",
"common_cps_commission": "0.00",
"common_goods_from": "1",
"transport_area_id": "2",
"id": "21"
},
"shop_base": {
"shop_id": "2",
"user_id": "10003",
"user_name": "zade",
"shop_name": "爱咋咋地",
"shop_grade_id": "1",
"shop_class_id": "1",
"shop_all_class": "0",
"shop_self_support": "false",
"shop_business": "1",
"shop_create_time": "2018-02-26 16:15:14",
"shop_end_time": "2028-02-26 16:15:14",
"shop_latitude": "",
"shop_longitude": "",
"shop_settlement_cycle": "30",
"shop_settlement_last_time": "2018-03-28 23:59:59",
"shop_points": "0",
"shop_logo": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522651794986295.jpg!200x60.jpg",
"shop_banner": "",
"shop_status": "3",
"shop_close_reason": "",
"shop_praise_rate": "0.00",
"shop_desccredit": "0.00",
"shop_servicecredit": "0.00",
"shop_deliverycredit": "0.00",
"shop_collect": "1",
"shop_template": "default",
"shop_workingtime": "09:00~18:00",
"shop_slide": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652457764210.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652466531258.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180403/1522746934572986.jpg,,",
"shop_slideurl": "https://,https://,https://,https://,https://",
"shop_domain": "SaaS",
"shop_region": "",
"shop_address": "",
"shop_qq": "",
"shop_ww": "",
"shop_tel": "",
"shop_free_shipping": "99999",
"shop_account": "",
"shop_payment": "1",
"joinin_year": "10",
"is_renovation": "0",
"is_only_renovation": "0",
"is_index_left": "0",
"shop_print_desc": "66666666",
"shop_stamp": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180331/1522489868615678.png!120x120.png",
"shop_parent_id": "0",
"shop_type": "1",
"district_id": "38",
"shop_verify_reason": "qqq",
"shop_common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\n",
"shop_contract_return": "1",
"shop_contract_breakage": "0",
"shop_contract_quality": "1",
"shop_contract_extreme": "1",
"id": "2"
},
"order_goods_count": 1,
"buy_limit": "0"
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 虚拟物品-确认订单
~~~[api]
post:/index.php?ctl=Buyer_Cart&met=confirmVirtual&typ=json
*string:u#u
*string:k#k
*string:goods_id#goods_id
*string:nums#nums
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"goods_base": {
"goods_id": "26",
"common_id": "21",
"shop_id": "2",
"shop_name": "爱咋咋地",
"goods_name": "100元电话卡",
"goods_promotion_tips": "",
"cat_id": "10",
"brand_id": "0",
"goods_spec": null,
"goods_price": "98.00",
"goods_market_price": "100.00",
"goods_stock": "994",
"goods_alarm": "0",
"goods_code": "444",
"goods_barcode": "",
"goods_is_recommend": "1",
"goods_click": "160",
"goods_salenum": "2",
"goods_collect": "4",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180310/1520674442506373.jpeg",
"color_id": "0",
"goods_evaluation_good_star": "5",
"goods_evaluation_count": "1",
"goods_max_sale": "0",
"goods_is_shelves": "1",
"goods_recommended_price": "0.00",
"goods_recommended_min_price": "0.00",
"goods_recommended_max_price": "0.00",
"goods_parent_id": "0",
"id": "26",
"groupbuy_info": [],
"xianshi_info": [],
"increase_info": [],
"pintuan_info": [],
"spec": [],
"spec_str": "",
"spec_val_str": "",
"have_gift": "",
"old_price": 0,
"now_price": "98.00",
"down_price": 0,
"sumprice": 95,
"cat_commission": "1",
"commission": "0.98",
"goods_num": 1
},
"common_base": {
"common_id": "21",
"common_name": "100元电话卡",
"common_promotion_tips": "",
"cat_id": "10",
"cat_name": "生活用品 > 111 > 添加分类1",
"shop_id": "2",
"shop_name": "爱咋咋地",
"shop_cat_id": ",,",
"shop_goods_cat_id": 0,
"goods_id": [
{
"goods_id": "26",
"color": 0
}
],
"shop_self_support": "0",
"shop_status": "3",
"common_property": null,
"common_spec_name": null,
"common_spec_value": null,
"brand_id": "0",
"brand_name": "",
"type_id": "0",
"common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180310/1520674442506373.jpeg",
"common_packing_list": "",
"common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。a",
"common_state": "1",
"common_state_remark": "",
"common_verify": "1",
"common_verify_remark": "",
"common_add_time": "2018-03-12 10:33:04",
"common_sell_time": "2018-03-12 10:33:04",
"common_price": "98.00",
"common_market_price": "100.00",
"common_cost_price": "0.00",
"common_stock": "994",
"common_limit": "0",
"common_alarm": "0",
"common_code": "444",
"common_platform_code": "0",
"common_cubage": "1.00",
"common_collect": "0",
"common_evaluate": "1",
"common_salenum": "2",
"common_invoices": "1",
"common_is_return": "0",
"common_formatid_top": "0",
"common_formatid_bottom": "0",
"common_is_recommend": "1",
"common_is_virtual": "1",
"common_virtual_date": "2018-07-31",
"common_virtual_refund": "1",
"transport_type_id": "0",
"common_location": null,
"common_is_tuan": "1",
"common_is_xian": "0",
"common_is_jia": "0",
"common_shop_contract_1": "0",
"common_shop_contract_2": "0",
"common_shop_contract_3": "1",
"common_shop_contract_4": "1",
"common_shop_contract_5": "0",
"common_shop_contract_6": "0",
"cps_rate": "0",
"second_cps_rate": "0",
"third_cps_rate": "0",
"common_cps_rate": "0.00",
"common_second_cps_rate": "0.00",
"common_third_cps_rate": "0.00",
"common_is_directseller": "0",
"product_lock_flag": "0",
"product_agent_id": "0",
"district_id": "38",
"supply_shop_id": "0",
"product_is_allow_update": "1",
"product_is_allow_price": "1",
"product_is_behalf_delivery": "1",
"common_parent_id": "0",
"goods_recommended_min_price": "0.00",
"goods_recommended_max_price": "0.00",
"product_distributor_flag": "0",
"common_distributor_description": null,
"common_distributor_flag": "0",
"common_cps_commission": "0.00",
"common_goods_from": "1",
"transport_area_id": "2",
"id": "21"
},
"shop_base": {
"shop_id": "2",
"user_id": "10003",
"user_name": "zade",
"shop_name": "爱咋咋地",
"shop_grade_id": "1",
"shop_class_id": "1",
"shop_all_class": "0",
"shop_self_support": "false",
"shop_business": "1",
"shop_create_time": "2018-02-26 16:15:14",
"shop_end_time": "2028-02-26 16:15:14",
"shop_latitude": "",
"shop_longitude": "",
"shop_settlement_cycle": "30",
"shop_settlement_last_time": "2018-03-28 23:59:59",
"shop_points": "0",
"shop_logo": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522651794986295.jpg!200x60.jpg",
"shop_banner": "",
"shop_status": "3",
"shop_close_reason": "",
"shop_praise_rate": "0.00",
"shop_desccredit": "0.00",
"shop_servicecredit": "0.00",
"shop_deliverycredit": "0.00",
"shop_collect": "1",
"shop_template": "default",
"shop_workingtime": "09:00~18:00",
"shop_slide": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652457764210.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652466531258.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180403/1522746934572986.jpg,,",
"shop_slideurl": "https://,https://,https://,https://,https://",
"shop_domain": "SaaS",
"shop_region": "",
"shop_address": "",
"shop_qq": "",
"shop_ww": "",
"shop_tel": "",
"shop_free_shipping": "99999",
"shop_account": "",
"shop_payment": "1",
"joinin_year": "10",
"is_renovation": "0",
"is_only_renovation": "0",
"is_index_left": "0",
"shop_print_desc": "66666666",
"shop_stamp": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180331/1522489868615678.png!120x120.png",
"shop_parent_id": "0",
"shop_type": "1",
"district_id": "38",
"shop_verify_reason": "qqq",
"shop_common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\n",
"shop_contract_return": "1",
"shop_contract_breakage": "0",
"shop_contract_quality": "1",
"shop_contract_extreme": "1",
"id": "2"
},
"mansong_info": {
"rule_discount": "3.00",
"rule_price": "10.00",
"gift_goods_id": 0,
"shop_id": "2"
},
"increase_info": [],
"voucher_base": [],
"has_physical": 0,
"user_rate": "97.0"
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 实物商品-确认订单
~~~[api]
post:/index.php?ctl=Buyer_Cart&met=confirm&typ=json
*string:u#u
*string:k#k
*string:product_id#product_id
*string:is_discount#0 or 1
*string:address_id#address_id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"rate_service_status": false,
"glist": [
{
"shop_id": "2",
"shop_name": "爱咋咋地",
"shop_user_id": "10003",
"shop_user_name": "zade",
"district_id": "38",
"promotion": 0,
"shop_self_support": "false",
"goods": [
{
"cart_id": "648",
"user_id": "10032",
"shop_id": "2",
"goods_id": "71",
"goods_num": "1",
"cart_status": "0",
"id": "648",
"transport_area_id": "2",
"buy_able": 1,
"cubage": "1.00",
"old_price": 0,
"now_price": "1.00",
"down_price": 0,
"order_goods_count": 0,
"IsHaveBuy": 0,
"buy_limit": "0",
"sumprice": "1.00",
"cat_commission": "1.00",
"commission": "0.01",
"goods_base": {
"goods_id": "71",
"common_id": "64",
"shop_id": "2",
"shop_name": "爱咋咋地",
"goods_name": "11111",
"goods_promotion_tips": "11111111111111",
"cat_id": "108",
"brand_id": "0",
"goods_spec": null,
"goods_price": "1.00",
"goods_market_price": "1.00",
"goods_stock": "46",
"goods_alarm": "1",
"goods_code": "",
"goods_barcode": "",
"goods_is_recommend": "1",
"goods_click": "75",
"goods_salenum": "3",
"goods_collect": "0",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180228/1519812111932021.png",
"color_id": "0",
"goods_evaluation_good_star": "5",
"goods_evaluation_count": "1",
"goods_max_sale": "0",
"goods_is_shelves": "1",
"goods_recommended_price": "0.00",
"goods_recommended_min_price": "0.00",
"goods_recommended_max_price": "0.00",
"goods_parent_id": "0",
"id": "71",
"groupbuy_info": [],
"xianshi_info": [],
"increase_info": [],
"pintuan_info": [],
"spec": [],
"spec_str": "",
"spec_val_str": "",
"have_gift": ""
},
"common_base": {
"common_id": "64",
"common_name": "11111",
"common_promotion_tips": "11111111111111",
"cat_id": "108",
"cat_name": "testhome",
"shop_id": "2",
"shop_name": "爱咋咋地",
"shop_cat_id": ",,",
"shop_goods_cat_id": 0,
"goods_id": [
{
"goods_id": "71",
"color": 0
}
],
"shop_self_support": "0",
"shop_status": "3",
"common_property": null,
"common_spec_name": null,
"common_spec_value": null,
"brand_id": "0",
"brand_name": "",
"type_id": "0",
"common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180228/1519812111932021.png",
"common_packing_list": "",
"common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\r\n",
"common_state": "1",
"common_state_remark": "",
"common_verify": "1",
"common_verify_remark": "",
"common_add_time": "2018-03-30 11:01:32",
"common_sell_time": "2018-03-30 11:01:32",
"common_price": "1.00",
"common_market_price": "1.00",
"common_cost_price": "0.00",
"common_stock": "46",
"common_limit": "0",
"common_alarm": "1",
"common_code": "",
"common_platform_code": "0",
"common_cubage": "1.00",
"common_collect": "0",
"common_evaluate": "1",
"common_salenum": "3",
"common_invoices": "1",
"common_is_return": "0",
"common_formatid_top": "12",
"common_formatid_bottom": "10",
"common_is_recommend": "1",
"common_is_virtual": "0",
"common_virtual_date": "0000-00-00",
"common_virtual_refund": "0",
"transport_type_id": "0",
"common_location": null,
"common_is_tuan": "0",
"common_is_xian": "0",
"common_is_jia": "0",
"common_shop_contract_1": "0",
"common_shop_contract_2": "0",
"common_shop_contract_3": "1",
"common_shop_contract_4": "1",
"common_shop_contract_5": "0",
"common_shop_contract_6": "0",
"cps_rate": "0",
"second_cps_rate": "0",
"third_cps_rate": "0",
"common_cps_rate": "0.00",
"common_second_cps_rate": "0.00",
"common_third_cps_rate": "0.00",
"common_is_directseller": "0",
"product_lock_flag": "0",
"product_agent_id": "0",
"district_id": "38",
"supply_shop_id": "0",
"product_is_allow_update": "1",
"product_is_allow_price": "1",
"product_is_behalf_delivery": "1",
"common_parent_id": "0",
"goods_recommended_min_price": "0.00",
"goods_recommended_max_price": "0.00",
"product_distributor_flag": "0",
"common_distributor_description": null,
"common_distributor_flag": "0",
"common_cps_commission": "0.00",
"common_goods_from": "1",
"transport_area_id": "2",
"id": "64"
}
}
],
"sprice": "1.00",
"commission": "0.01",
"ini_sprice": "1.00",
"mansong_info": [],
"increase_info": [],
"best_voucher": [],
"voucher_base": [],
"shop_voucher": [
{
"id": "38",
"title": "iPhoneX下单立减590",
"desc": "111111111",
"start_time": "2018-04-10 16:15:36",
"end_time": "2018-04-13 23:59:59",
"price": "590.00",
"limit": "7958.00",
"status": "1",
"giveout": "6",
"points": "0",
"eachlimit": "5",
"customimg": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180410/1523348132653382.jpg!200x200.jpg",
"method": "3",
"recommend": "1"
}
],
"jia_jia_gou": [],
"man_song": {
"mansong_id": "17",
"mansong_name": "23432434234234234234",
"combo_id": "0",
"mansong_start_time": "2018-04-10 13:50:00",
"mansong_end_time": "2018-04-19 13:50:00",
"user_id": "10003",
"shop_id": "2",
"user_nickname": "",
"shop_name": "爱咋咋地",
"mansong_state": "1",
"mansong_remark": "23132",
"id": "17",
"mansong_state_label": "正常",
"rule": [
{
"rule_id": "20",
"mansong_id": "17",
"rule_price": "10.00",
"rule_discount": "3.00",
"goods_name": "扫地机器人",
"goods_id": "100",
"id": "20",
"goods_price": "800.00",
"goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180408/1523159849763673.jpg!500x500.jpg",
"accord": 0
}
]
},
"freight": null,
"sgprice": "1.00"
}
],
"user_rate": "97.0",
"address": [
{
"user_address_id": "72",
"user_id": "10032",
"user_address_contact": "我",
"user_address_province_id": "3",
"user_address_city_id": "0",
"user_address_area_id": "1165",
"user_address_area": "河北 河北 秦皇岛市 秦皇岛市 山海关区 山海关区 ",
"user_address_address": "快了快乐1哦",
"user_address_phone": "15565051397",
"user_address_company": "",
"user_address_default": "0",
"user_address_time": "2018-04-04 16:46:16",
"id": "72"
}
],
"cost": [],
"order_price": 1,
"ini_order_price": "1.00",
"pomotion": 0,
"order_discount": 0,
"is_discount": 0
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 发票信息
~~~[api]
post:/index.php?ctl=Buyer_Invoice&met=addInvoice&typ=json
*string:u#u
*string:k#k
*string:invoice_title#invoice_title
*string:invoice_state#invoice_state
*string:invoice_company#invoice_company
*string:invoice_code#invoice_code
*string:invoice_rec_phone#invoice_rec_phone
*string:invoice_rec_email#invoice_rec_email
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"invoice_id": 16
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 提交订单
~~~[api]
post:/index.php?ctl=Buyer_Order&met=addOrder&typ=json
*string:u#u
*string:k#k
*string:receiver_name#receiver_name
*string:receiver_address#receiver_address
*string:receiver_phone#receiver_phone
*string:invoice#invoice
*string:invoice_id#invoice_id
*string:invoice_title#invoice_title
*string:invoice_content#invoice_content
*string:cart_id#cart_id
*string:shop_id#shop_id
*string:remark#remark
*string:pay_way_id#pay_way_id
*string:address_id#address_id
*string:from=wap#from
*string:voucher_id#voucher_id
*string:redpacket_id#redpacket_id
*string:is_discount#is_discount
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"uorder": "U20180411013038976"
},
"d": [
-999,
"<br />\n<b>Warning</b>: htmlspecialchars() expects parameter 1 to be string, array given in <b>/var/www/html/shopsass/shop/libraries/Yf/Model.php</b> on line <b>158</b><br />"
]
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 提交虚拟订单
~~~[api]
post:/index.php?ctl=Buyer_Order&met=addVirtualOrder&typ=json
*string:u#u
*string:k#k
*string:buyer_phone#buyer_phone
*string:goods_id#goods_id
*string:goods_num#goods_num
*string:remarks#remarks
*string:increase_goods_id#increase_goods_id
*string:voucher_id#voucher_id
*string:pay_way_id#pay_way_id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"uorder": "U20180411014254327"
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 取消订单
~~~[api]
post:/index.php?ctl=Buyer_Order&met=orderCancel&typ=json
*string:u#u
*string:k#k
*string:order_id#order_id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"order_id": "DD-10003-2-102-20180410140400-0001"
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~
### 确认收货
~~~[api]
post:/index.php?ctl=Buyer_Order&met=confirmOrder&typ=json
*string:u#u
*string:k#k
*string:order_id#order_id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "failure",
"data": {}
}
~~~