saveOrUpdate.conf 2.1 KB
# -*- coding: UTF-8 -*-

[saveOrUpdate01]
url=http://oms.tms.nong12.com/customerOrder/saveOrUpdate.action

update_header01={"X-Requested-With": "XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Origin":"http://tms.nong12.com","Referer":"http://oms.tms.nong12.com/customerOrder"}

update_header02={"Accept": "application/json, text/javascript, */*; q=0.01","Host":"oms.tms.nong12.com","Connection":"keep-alive"}
	
body={
    "customerCellphone": "18628307268",
    "customerCode": "CUSO201907220001",
    "customerName": "火影",
    "transportWay": "test",
    "demandSources": "webChatApp",
    "amount": "",
    "demandDescription": "经济",
    "shippingCustomer": "火影",
    "shippingContactName": "火影",
    "shippingContactNumber": "18628307268",
    "shipping_city": "拉萨",
    "shippingCityId": "14",
    "shippingAddress": "刚刚",
    "requestedShipDate": "2019-08-15",
    "shippingDesc": "",
    "receiptCustomer": "水星",
    "receiptContactName": "水星",
    "receiptContactNumber": "13111555555",
    "receipt_city": "成都",
    "receiptCityId": "9",
    "receiptAddress": "哦哦哦",
    "tradeId": "",
    "tradeCard": "",
    "requestedReceiptDate": "2019-08-15",
    "receiptDesc": "",
    "productName1": "国光苹果",
    "categoryId1": "312",
    "specificationCode1": "SC201905210001",
    "total1": "10",
    "singleWeight1": "1.0",
    "weight1": "10",
    "transportCondition1": "ordinary",
    "transportDesc1": "经济",
    "goodsList[0][categoryId]": "312",
    "goodsList[0][specificationCode]": "SC201905210001",
    "goodsList[0][total]": "10",
    "goodsList[0][singleWeight]": "1.0",
    "goodsList[0][weight]": "10",
    "goodsList[0][transportCondition]": "ordinary",
    "goodsList[0][transportDesc]": "经济",
    "goodsList[0][ruleId]": "82",
    "firmCode": "CC201905200058",
    "settlementMethod": "arrived",
    "expense": "1000",
    "expenseMap[r_82]": "1000"}

expect_response={"code":"200","data":951,"message":"创建客户订单成功","result":"创建客户订单成功","success":true}