saveOrUpdate.conf
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- 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}