V2 0/order long/get order info long
来自技术开发小组内部wiki
功能说明
根据用户id和订单号获取长线游订单详情
URL
http://[域名]/v2_0/order_long/get_order_info_long
返回格式
支持json,xml.通过format参数来控制
HTTP请求方式
POST.可以post的数据为xml或json.
输入参数说明
参数名称 | 是否必须 | 类型 | 描述 |
---|---|---|---|
uid | 是 | int | 用户id |
order_id | 是 | int | 订单号 |
version |
是 |
string |
版本号 |
请求示例
正式环境 http://api.fumubang.com/v2_0/order_long/get_order_info_long 测试环境 http://api.fumubang.net/v2_0/order_long/get_order_info_long
本地环境 http://dev-api.fumubang.net/v2_0/order_long/get_order_info_long
返回参数说明
见xml标红处
正确返回示例
--跟团游订单返回结果-- { "status": "success", "order": { "order_id": "59915", "order_sn": "20160127110747806030",//订单编号 "change_to_order": "",//改签前订单 "order_name": "哈哈的哈哈的哈佛的哈哈哈哈哈",//订单名称 "pay_sn": "",//外部订单号 "my_pay_sn": "1601271107474943256423",//自己内部平台支付订单号 "third_sn": "", "buyer_email": "", "receiver_email": "", "uid": "33455",//用户id "order_status": "0",//订单状态 当前状态值 订单状态。0.未付款 1.等待发货 2.已发货 3.退货中 4.已退货 5.交易成功;6.交易关闭7.支付尾款 "shipping_status": "0", "trace_status": "0",//追单状态,0未追单,1,追单中,2,追单完成 "pay_status": "0",//付状态;0,未付款;1,付款中 ;2,已付款 "confirm_status": "0",//二次确认状态(0=>待处理,1=>处理中,5=>处理中-预订,8=>处理中-预定催单,6=>处理中-更改,9=>处理中-更改催单,7=>处理中-取消,10=>处理中-取消催单,2=>有货-保留,3=>无货-待处理,4=>无货-退款) "confirm_recheck_status": "-1",//二次确认复审状态:0,未审,1,已审 "pay_clear": "0", "aid": "311",//产品id "order_city_id": "2",//订单所属区域ID "shop_user_id": "0",//商家id "shop_warehouse_id": "0",//仓库id "goods_group_id": "0", "goods_type": "50",//产品类型:50跟团,51自由行 "activity_type": "1", "shape_type": "1",//1:电子票;2:实体票 "receiver": "dsfdsfd",//收货人 "country": "1", "province": "0", "city": "0", "area": "0", "street": "0", "address": "", "zipcode": "", "tel": "", "mobile": "18701644809",//电话 "email": "",//邮箱 "weixin": "",//微信 "postscript": "",//订单备注 "cert_info": [ ], "inv_type": "0",//发票类型:0:无用,1:个人,2:企业 "inv_payee": "",//发票抬头 "inv_content": "",//发票内容 "adult_num": "1",//成人数 "child_num": "1",//儿童数 "money": "¥180",//支付金额 "shipping_fee": "¥0",//运费 "shipping_method": "0",//该订单选择的运费方式0-自定义(没有方式),1-快递,2-EMS "pay_source": "支付宝",//支付来源 "pay_note": "",//付款备注 "editor_note": null, "referer": "h5",//订单来源 "order_referer": "1",//下单来源 "appname": "", "create_time": "2016-01-27 11:07:47",//下单时间 "confirm_time": "0000-00-00 00:00:00", "pay_time": "0000-00-00 00:00:00",//订单支付时间 "confirm_update_time": "0000-00-00 00:00:00", "shipping_time": "0000-00-00 00:00:00", "play_time": "2016-01-28 00:00:00",//出行日期 "use_coupon": "1",//是否使用优惠券,1是,0否 "coupon_money": "10",//优惠券金额 "app_sub_money": "0",//下单立减金额 "realpay_money": "170.00",//实付金额 "cps_name": "", "cps_cookie": null, "order_status_name": "等待付款",//订单状态名称 "pay_time_limit": "7200",//订单多长时间关闭 "pay_time_remain": 3708,////订单支付剩余时间,单位s "order_status_tishi": "订单将在 2016-01-27 13:07 关闭,请尽快支付。",//支付提示 "order_status_pay":true,//是否可以继续支付(当order_status=7并且是order_status_pay=false时,不能继续支付,说明拆分支付超时) "indentys": [ { "cid": "17", "order_sn": "20160127144732068586", "uid": "32995", "name": "修改测试", "identy_no": "132903197903076614",//证件号 "identy_type": "1",//证件类型 "sex": "1",//性别,1男2女 "phone_num": "13412312312", "first_name": "aaacb", "last_name": "cccaaa", "birthday": "1979-03-07", "nationality": "535", "ctime": "2016-01-27 14:47:32", "identity": "", "identy_name": "身份证"//证件名称 "nationality_name":"国籍" }, { "cid": "19", "order_sn": "20160127144732068586", "uid": "32995", "name": "测试稍后", "identy_no": "taiwan", "identy_type": "6", "sex": "2", "phone_num": "", "first_name": "ww", "last_name": "ss", "birthday": "1996-01-03", "nationality": "535", "ctime": "2016-01-27 14:47:32", "identity": "", "identy_name": "台湾通行证", "nationality_name":"国籍" }, { "cid": "21", "order_sn": "20160127144732068586", "uid": "32995", "name": "的的", "identy_no": "xxsada", "identy_type": "7", "sex": "1", "phone_num": "", "first_name": "", "last_name": "", "birthday": "2008-01-01", "nationality": "535", "ctime": "2016-01-27 14:47:32", "identity": "儿童", "identy_name": "回乡证", "nationality_name":"国籍" } ],//常用联系人信息 "tour": { "adult": { "goods_price": "100.00", "goods_number": "1" }, "child": { "goods_price": "80.00", "goods_number": "1" } }, "addtions": [ { "rec_id": "90571", "order_sn": "20161103134416832337", "third_sn": "", "uid": "33251", "pack_product_id": "2000421", "product_id": "2000425", "supplier_id": "209", "sell_id": "2099", "type_name": "scenic", "plane_trip_status": "0", "aid": "0", "activity_type": "1", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "1", "market_price": "0.00", "goods_price": "200.00", "settle_price": "100.00", "play_time": "2016-11-09", "leave_time": "0000-00-00 00:00:00", "ctime": "2016-11-02 11:34:36", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "tuan_status": "0", "extend_info": "", "good_ext": "", "product_name": "热带天堂森林公园", "cat_id": "0", "title": "热带天堂森林公园", "sub_title": "热带天堂森林公园", "banner": "", "is_fclub": "0", "pub_city_id": "0", "sell_city_id": "", "age_min": "0", "age_max": "99", "start_city_ids": "", "destination_country_ids": "", "destination_provinces_ids": "", "destination_city_ids": "", "require_data": "", "sell_stat": "0", "sell_min_price": "0.00", "market_min_price": "0.00", "click_num": "0", "sell_num": "4", "start_sell_time": "0000-00-00 00:00:00", "end_sell_time": "0000-00-00 00:00:00", "online_time": "0000-00-00 00:00:00", "offline_time": "0000-00-00 00:00:00", "pay_time_limits": "0", "sort_rank": "0", "plat_id": "", "create_uid": "123", "admin_uid": "123", "on_shelves_time": "1970-01-01 00:00:00", "uptime": "2016-11-02 11:34:49", "status": "1", "is_delete": "0" }, { "rec_id": "90573", "order_sn": "20161103134416832337", "third_sn": "", "uid": "33251", "pack_product_id": "2000421", "product_id": "505", "supplier_id": "63", "sell_id": "631", "type_name": "insurance", "plane_trip_status": "0", "aid": "0", "activity_type": "1", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "1", "market_price": "0.00", "goods_price": "100.00", "settle_price": "80.00", "play_time": "0000-00-00", "leave_time": "0000-00-00 00:00:00", "ctime": "2016-02-03 14:41:58", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "tuan_status": "0", "extend_info": "", "good_ext": "", "product_name": "欧洲国际旅行的顶顶顶顶顶哈哈哈哈保险之钻石计划11--14天成人", "cat_id": "0", "title": "欧洲国际旅行的顶顶顶顶顶哈哈哈哈保险之钻石计划11--14天成人", "sub_title": "欧洲国际旅行的顶顶顶顶顶哈哈哈哈保险之钻石计划11--14天成人", "banner": "", "is_fclub": "0", "pub_city_id": "0", "sell_city_id": "", "age_min": "2", "age_max": "12", "start_city_ids": "", "destination_country_ids": "", "destination_provinces_ids": "", "destination_city_ids": "", "require_data": "", "sell_stat": "16", "sell_min_price": "0.00", "market_min_price": "0.00", "click_num": "0", "sell_num": "17", "start_sell_time": "0000-00-00 00:00:00", "end_sell_time": "0000-00-00 00:00:00", "online_time": "0000-00-00 00:00:00", "offline_time": "0000-00-00 00:00:00", "pay_time_limits": "0", "sort_rank": "0", "plat_id": "0", "create_uid": "123", "admin_uid": "123", "on_shelves_time": "1970-01-01 00:00:00", "uptime": "2016-02-04 15:37:56", "status": "1", "is_delete": "0" }, { "rec_id": "90575", "order_sn": "20161103134416832337", "third_sn": "", "uid": "33251", "pack_product_id": "2000421", "product_id": "2000197", "supplier_id": "203", "sell_id": "1877", "type_name": "rent_car", "plane_trip_status": "0", "aid": "0", "activity_type": "1", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "1", "market_price": "0.00", "goods_price": "100.00", "settle_price": "100.00", "play_time": "2016-11-07", "leave_time": "0000-00-00 00:00:00", "ctime": "2016-03-09 10:14:45", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "tuan_status": "0", "extend_info": "", "good_ext": "", "product_name": "我的用车", "cat_id": "0", "title": "我的用车", "sub_title": "我的用车", "banner": "", "is_fclub": "0", "pub_city_id": "0", "sell_city_id": "", "age_min": "2", "age_max": "12", "start_city_ids": "", "destination_country_ids": "", "destination_provinces_ids": "", "destination_city_ids": "", "require_data": "", "sell_stat": "0", "sell_min_price": "0.00", "market_min_price": "0.00", "click_num": "0", "sell_num": "4", "start_sell_time": "0000-00-00 00:00:00", "end_sell_time": "0000-00-00 00:00:00", "online_time": "0000-00-00 00:00:00", "offline_time": "0000-00-00 00:00:00", "pay_time_limits": "0", "sort_rank": "0", "plat_id": "0", "create_uid": "293", "admin_uid": "293", "on_shelves_time": "1970-01-01 00:00:00", "uptime": "2016-03-11 16:38:28", "status": "1", "is_delete": "0" }, { "rec_id": "90577", "order_sn": "20161103134416832337", "third_sn": "", "uid": "33251", "pack_product_id": "2000421", "product_id": "2000199", "supplier_id": "203", "sell_id": "1879", "type_name": "extra", "plane_trip_status": "0", "aid": "0", "activity_type": "1", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "1", "market_price": "0.00", "goods_price": "100.00", "settle_price": "100.00", "play_time": "0000-00-00", "leave_time": "0000-00-00 00:00:00", "ctime": "2016-03-09 10:18:35", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "tuan_status": "0", "extend_info": "", "good_ext": "", "product_name": "其他产品测试", "cat_id": "0", "title": "其他产品测试", "sub_title": "其他产品测试", "banner": "", "is_fclub": "0", "pub_city_id": "0", "sell_city_id": "", "age_min": "2", "age_max": "12", "start_city_ids": "", "destination_country_ids": "", "destination_provinces_ids": "", "destination_city_ids": "", "require_data": "", "sell_stat": "0", "sell_min_price": "0.00", "market_min_price": "0.00", "click_num": "0", "sell_num": "3", "start_sell_time": "0000-00-00 00:00:00", "end_sell_time": "0000-00-00 00:00:00", "online_time": "0000-00-00 00:00:00", "offline_time": "0000-00-00 00:00:00", "pay_time_limits": "0", "sort_rank": "0", "plat_id": "0", "create_uid": "293", "admin_uid": "293", "on_shelves_time": "1970-01-01 00:00:00", "uptime": "2016-03-11 16:38:58", "status": "1", "is_delete": "0" } ], //3.35增加附加费用 "coupon_sn": "2AdkcnSSeZE4",//优惠券号 "relpad_total_money": 0,//支付尾款金额 "sum_money": "¥170",//总金额 "is_invoice": 0, "inv_type_name": "不需要发票",//发票类型名称 "is_return": null, "activity_title": "跟团游[0114]正式",//产品标题 "sub_title": "跟团游[0114]正式2",//产品副标题 "order_ctime": "2016-01-27 11:07",//下单时间 "traffic_tips":"以下交通暂只供参考,以订单确认后信息为准",//交通信息提示 "order_change_status": [ //订单支付流程 { "status": "on", "words": "订单提交" }, { "status": "off", "words": "等待付款" } ], "return_status": true,//是否有退货:true是,false:否 "return_h5_url": "http://m.fumubang.net/mobile/hd_my/returns_info_long"//退货h5链接 }, "split_order": { //此订单是否可拆分(3.63版本以上返回) "status": true,//是否是拆分订单:true是,false否 "money": "1.02",//待付金额 "last_status": false, "split_money": 0.03,//拆分金额限制 "min_money": 0.02//本次支付金额需大于最小拆分金额 } } --自由行订单详情页-- { "status": "success", "order": { "order_id": "59925", "order_sn": "20160127144732068586", "change_to_order": null, "order_name": "ccccc", "pay_sn": null, "my_pay_sn": "1601271447317683648645", "third_sn": null, "buyer_email": null, "receiver_email": "", "uid": "32995", "order_status": "0", "shipping_status": "0", "trace_status": "0", "pay_status": "0", "confirm_status": "0", "confirm_recheck_status": "-1", "pay_clear": "0", "aid": "309", "order_city_id": "2", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "51", "activity_type": "1", "shape_type": "1", "receiver": "侯友发", "country": "1", "province": "0", "city": "0", "area": "0", "street": "0", "address": "", "zipcode": "", "tel": "", "mobile": "18500191390", "email": "", "weixin": "", "postscript": "", "cert_info": [ { "type": "1", "name": "修改测试", "cert_no": "132903197903076614" }, { "type": "6", "name": "测试稍后", "cert_no": "taiwan" }, { "type": "7", "name": "的的", "cert_no": "xxsada" } ], "inv_type": "0", "inv_payee": "", "inv_content": "", "adult_num": "2", "child_num": "1", "money": "¥1150", "shipping_fee": "¥0", "shipping_method": "0", "pay_source": "支付宝", "pay_note": "", "editor_note": null, "referer": "h5", "order_referer": "1", "appname": "", "create_time": "2016-01-27 14:47:32", "confirm_time": "0000-00-00 00:00:00", "pay_time": "0000-00-00 00:00:00", "confirm_update_time": "0000-00-00 00:00:00", "shipping_time": "0000-00-00 00:00:00", "play_time": "2016-02-01 00:00:00", "use_coupon": "0", "coupon_money": "0", "app_sub_money": "0", "realpay_money": null, "cps_name": "", "cps_cookie": null, "order_status_name": "等待付款", "pay_time_limit": "7200", "pay_time_remain": 4778, "order_status_tishi": "订单将在 2016-01-27 16:47 关闭,请尽快支付。", "indentys": [ { "cid": "17", "order_sn": "20160127144732068586", "uid": "32995", "name": "修改测试", "identy_no": "132903197903076614", "identy_type": "1", "sex": "1", "phone_num": "13412312312", "first_name": "aaacb", "last_name": "cccaaa", "birthday": "1979-03-07", "nationality": "535", "ctime": "2016-01-27 14:47:32", "identity": "", "identy_name": "身份证" }, { "cid": "19", "order_sn": "20160127144732068586", "uid": "32995", "name": "测试稍后", "identy_no": "taiwan", "identy_type": "6", "sex": "2", "phone_num": "", "first_name": "ww", "last_name": "ss", "birthday": "1996-01-03", "nationality": "535", "ctime": "2016-01-27 14:47:32", "identity": "", "identy_name": "台湾通行证" }, { "cid": "21", "order_sn": "20160127144732068586", "uid": "32995", "name": "的的", "identy_no": "xxsada", "identy_type": "7", "sex": "1", "phone_num": "", "first_name": "", "last_name": "", "birthday": "2008-01-01", "nationality": "535", "ctime": "2016-01-27 14:47:32", "identity": "儿童", "identy_name": "回乡证" } ], "hotels": [ //酒店信息 { "nights_num": 3, //晚数 "data": { "rec_id": "73391", "order_sn": "20160127144732068586", "third_sn": "", "uid": "32995", "pack_product_id": "309", //产品id "product_id": "303", //酒店基本产品信息id "supplier_id": "57", "sell_id": "317", "type_name": "hotel", "plane_trip_status": "0", "aid": "0", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "1", //间数 "market_price": "0.00", "goods_price": "200.00",//现价 "settle_price": "100.00", "play_time": "2016-02-03 00:00:00", //出行日期 "ctime": "2016-01-14 19:23:21", "activity_type": "1", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "product_name": "小明测试酒店", "cat_id": "0", "title": "小明测试酒店", "sub_title": "小明测试酒店", "banner": "353", "is_fclub": "0", "pub_city_id": "0", "sell_city_id": "", "age_min": "0", "age_max": "99", "start_city_ids": "0", "destination_country_ids": "", "destination_provinces_ids": "0", "destination_city_ids": "0", "require_data": "", "sell_state": "0", "sell_min_price": "0.00", "market_min_price": "0.00", "click_num": "0", "sell_num": "-41", "start_sell_time": "0000-00-00 00:00:00", "end_sell_time": "0000-00-00 00:00:00", "online_time": "0000-00-00 00:00:00", "offline_time": "0000-00-00 00:00:00", "pay_time_limits": "0", "sort_rank": "0", "create_uid": "6", "admin_uid": "6", "uptime": "2016-01-14 19:23:21", "status": "1", "is_delete": "0", "hotel_name": "小明测试酒店", "star_level": "5", "nature": "1", "province_id": "0", "city_id": "0", "address": "亮马河大厦", "contact": "", "upload_img": "411", "upload_attachment": "", "url": "", "room_id": "67", "room_name": "打发房", "head_pic": "", "images": "353", "bed_types": [ //床型 {
"type": "大床",
"other_type": "",
"width": "2",
"length": "2"
}
], "resize_bed": "1", "resize_bed_width": "2.0", "resize_bed_length": "2.0", "resize_price": "120.00", "resize_desc": "飞得更高发的", "max_persons": "12", "building_area": "34", "floor": "2", "window_state": "1", "smoke_state": "2", "wifi_state": "2", "note": "" }, "start_date": "2016-02-01", "end_date": "2016-02-01", "hotel_name": "小明测试酒店", "room_name": "打发房", "goods_number": "1" } ], "planes": [ //机票信息 { "type": "go", //往返类型:go去,back返 "data": { "rec_id": "73393", "order_sn": "20160127144732068586", "third_sn": "", "uid": "32995", "pack_product_id": "309", "product_id": "301", "supplier_id": "57", "sell_id": "313", "type_name": "plane_ticket", "plane_trip_status": "3", "aid": "0", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "2", "market_price": "0.00", "goods_price": "200.00", "settle_price": "180.00", "play_time": "2016-02-01 00:00:00", "ctime": "2016-01-14 19:20:06", "activity_type": "1", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "plane_id": "35", "round_trip": "1", "round_trip_status": "1", "is_delete": "0", "status": "1", "create_uid": "6", "admin_uid": "6", "uptime": "2016-01-14 19:20:06", "plane_no": "XIAOMCES小明GO", "company_no": "CA", "start_country_id": "0", "start_province_id": "1", "start_city_id": "48", "start_airport": "BJT3航站楼", "start_time": "8:49", "end_country_id": "0", "end_province_id": "9", "end_city_id": "150", "end_airport": "虹桥机场1", "end_time": "2:45", "end_day": "0", "duration_hours": "6", "duration_minute": "32", "classes": "first", "types": "adult", "round_trip_status_p": "1", "play_time_date": "2016-02-01 00:00:00", "start_province_name": "北京市", "start_city_name": "顺义区", "end_province_name": "上海市", "end_city_name": "虹口区", "company_short_name": "国航" } }, { "type": "back", "data": { "rec_id": "73393", "order_sn": "20160127144732068586", "third_sn": "", "uid": "32995", "pack_product_id": "309", "product_id": "301", "supplier_id": "57", "sell_id": "313", "type_name": "plane_ticket", "plane_trip_status": "3", "aid": "0", "shop_user_id": "0", "shop_warehouse_id": "0", "goods_group_id": "0", "goods_type": "0", "goods_id": "0", "goods_number": "2", "market_price": "0.00", "goods_price": "200.00", "settle_price": "180.00", "play_time": "2016-02-01 00:00:00", "ctime": "2016-01-14 19:20:06", "activity_type": "1", "bed_require": "", "ext_info": "", "row_index": "0", "tax_money": "0.00", "settle_tax_money": "0.00", "plane_id": "37", "round_trip": "1", "round_trip_status": "2", "is_delete": "0", "status": "1", "create_uid": "6", "admin_uid": "6", "uptime": "2016-01-14 19:20:06", "plane_no": "XIAOMCES小明COME", "company_no": "CA", "start_country_id": "0", "start_province_id": "9", "start_city_id": "150", "start_airport": "虹桥机场1", "start_time": "8:49", "end_country_id": "0", "end_province_id": "1", "end_city_id": "48", "end_airport": "T3234", "end_time": "2:56", "end_day": "0", "duration_hours": "6", "duration_minute": "32", "classes": "first", "types": "adult", "round_trip_status_p": "2", "play_time_date": "2016-02-01 00:00:00", "start_province_name": "上海市", "start_city_name": "虹口区", "end_province_name": "北京市", "end_city_name": "顺义区", "company_short_name": "国航"//航班简称 } } ], "addtions": [ //附加项,保险游玩用车 ], "relpad_total_money": 0, "sum_money": "¥1150", "is_invoice": 0, "inv_type_name": "不需要发票", "is_return": null, "activity_title": "正式产品[01-14]", "sub_title": "正式产品[01-14]2", "order_ctime": "2016-01-27 14:47", "order_change_status": [ { "status": "on", "words": "订单提交" }, { "status": "off", "words": "等待付款" } ], "return_status": true, "return_h5_url": "http://m.fumubang.net/mobile/hd_my/returns_info_long" } } 1."activity" 数组长度>1 就是合单的情况 2. order_status 为7(待付尾款情况下显示已付金额,) 3. order_status为7或者0 显示支付按钮,文字为"立即支付",金额前的文本提示为"应付" 4.order_status为0还显示取消按钮,订单取消完成后要重新获取数据,刷新页面 5.order_status为6显示重新购买按钮,跳转到活动详情页,合单时取第一个活动id 6.order_status = 2&&shape_type=2时存在的按钮有:确认收货,调用完确认收货接口后要重新请求订单详情接口刷新数据 7.shape_type 等于1 代表是电子票, 而且exchange_code不为空就需要显示电子码信息, 多电子码以","分隔,客户端将","替换为换行符进行展示 8. 条件7满足前提下 status 再等于 0 ,就代表要显示 电子码重发按钮 9. 订单状态为2时,且shipping_info节点数组长度大于0 就显示 发货信息
--普通订单详情接口返回,该例子为合单情况-----20150720结束
在order_status=7,待付尾款情况下,已付金额=money(支付金额)-coupon_money(优惠券金额)-app_sub_money(下单立减金额)-realpay_money(实际支付金额) order_status = 0时存在的按钮有:支付,取消 order_status = 6时存在的按钮 重新购买 order_status = 2&&shape_type=2时存在的按钮有:确认收货(注:只适用于与实体票,酒店都是电子票,没有此操作) status = 0&&shape_type = 1时存在的按钮 重新发送 shape_type是1时才会有status字段 codes_show = 1时,电子验证码处显示:已发送到您的手机(注:酒店没有电子码,不需要此处逻辑)
错误返回示例
<?xml version="1.0" encoding="utf-8"?>
<error_code>300000</error_code> <error_msg>参数不全</error_msg>
<?xml version="1.0" encoding="utf-8"?>
<error_code>300001</error_code> <error_msg>订单信息不存在</error_msg>