合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
md5加密前数据##订单接收 ~~~[api] post:http://bg.x.com/outorder/getorder *请求参数json#json数据 <<< success { "code":2000, "msg":"success", } <<< error { "code": 4000, "msg": "失败原因", } ~~~ #### 说明 1. 请求参数: 订单支付金额 = 订单商品总值+税费+运费 - 优惠 { "data": { "order_num": "1001",//订单号 "order_amount": "120.00",//支付金额 "goods_amount": "100.00",//总货值 "tax": "10.00",//总税费 "promotion": "10.00",//优惠金额 "logistics_money": "10.00",//运费 "buyer_name": "刘德华",//购买人姓名 "buyer_card": "41000000000000000",//购买人身份证号 "accept_name": "李四",//收货人 "accept_mobile": "1358888888",//收货人电话 "province": "河南省",//收货地址省 "city": "郑州市",//收货地址市 "area": "高新区",//收货地址区 "accept_address": "帝王大厦2002",//具体地址不包含省市区 "mark": "备注", "order_time":"2020-05-02 14:32:12"//下单时间 "goods_list": [{ "sku": "9000001",//条码货号 "goods_name": "商品1",//商品名 "quantity": 1,//数量 "price": "50.00"//单价 }, { "sku": "90000012", "goods_name": "商品2", "quantity": 2, "price": "25.00" }] }, "sign": "C5FFF9309DDC0C633F8D8ACDCDD4EDA4" } 2.goods_list加密数据为:json,字段顺序按此页面显示顺序,不排序 如: goods_list=[{"sku":"9000001","goods_name":"\u5546\u54c11","quantity":1,"price":"50.00"},{"order_id":1,"sku":"90000012","goods_name":"\u5546\u54c12","quantity":2,"price":"25.00"}] md5加密前数据 如: accept_address=帝王大厦2002&accept_mobile=1358888888&accept_name=李四&area=高新区&buyer_card=41000000000000000&buyer_name=刘德华&city=郑州市&goods_amount=100.00&goods_list=[{"sku":"9000001","goods_name":"\u5546\u54c11","quantity":1,"price":"50.00"},{"order_id":1,"sku":"90000012","goods_name":"\u5546\u54c12","quantity":2,"price":"25.00"}]&logistics_money=10.00&mark=备注&order_amount=120.00&order_num=200sss1&promotion=10.00&province=河南省&tax=0&key=sdfsadfsdgsdgdfg