mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
test(wxapi): 适配新的模型测试
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"ToUserName": "toUser",
|
||||
"FromUserName": "fromUser",
|
||||
"CreateTime": 1546924844,
|
||||
"MsgType": "event",
|
||||
"Event": "add_express_path",
|
||||
"DeliveryID": "SF",
|
||||
"WayBillId": "123456789",
|
||||
"OrderId": "123456789",
|
||||
"Version": 2,
|
||||
"Count": 3,
|
||||
"Actions": [
|
||||
{
|
||||
"ActionTime": 1546924840,
|
||||
"ActionType": 100001,
|
||||
"ActionMsg": "小哥A揽件成功"
|
||||
},
|
||||
{
|
||||
"ActionTime": 1546924841,
|
||||
"ActionType": 200001,
|
||||
"ActionMsg": "到达广州集包地"
|
||||
},
|
||||
{
|
||||
"ActionTime": 1546924842,
|
||||
"ActionType": 200001,
|
||||
"ActionMsg": "运往目的地"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[toUser]]></ToUserName>
|
||||
<FromUserName><![CDATA[fromUser]]></FromUserName>
|
||||
<CreateTime>1546924844</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[add_express_path]]></Event>
|
||||
<DeliveryID><![CDATA[SF]]></DeliveryID>
|
||||
<WayBillId><![CDATA[123456789]]></WayBillId>
|
||||
<OrderId><![CDATA[123456]]></OrderId>
|
||||
<Version>3</Version>
|
||||
<Count>3</Count>
|
||||
<Actions>
|
||||
<ActionTime>1546924840</ActionTime>
|
||||
<ActionType>100001</ActionType>
|
||||
<ActionMsg><![CDATA[小哥A揽件成功]]></ActionMsg>
|
||||
</Actions>
|
||||
<Actions>
|
||||
<ActionTime>1546924841</ActionTime>
|
||||
<ActionType>200001</ActionType>
|
||||
<ActionMsg><![CDATA[到达广州集包地]]></ActionMsg>
|
||||
</Actions>
|
||||
<Actions>
|
||||
<ActionTime>1546924842</ActionTime>
|
||||
<ActionType>200001</ActionType>
|
||||
<ActionMsg><![CDATA[运往目的地]]></ActionMsg>
|
||||
</Actions>
|
||||
</xml>
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"ToUserName": "gh_abcdefg",
|
||||
"FromUserName": "oABCD",
|
||||
"CreateTime": 1533042556,
|
||||
"MsgType": "event",
|
||||
"Event": "add_waybill",
|
||||
"Token": "1234ABC234523451",
|
||||
"OrderID": "012345678901234567890123456789",
|
||||
"BizID": "xyz",
|
||||
"BizPwd": "xyz123",
|
||||
"ShopAppID": "wxABCD",
|
||||
"WayBillID": "123456789",
|
||||
"Remark": "易碎物品",
|
||||
"Sender": {
|
||||
"Name": "张三",
|
||||
"Tel": "020-88888888",
|
||||
"Mobile": "18666666666",
|
||||
"Company": "公司名",
|
||||
"PostCode": "123456",
|
||||
"Country": "中国",
|
||||
"Province": "广东省",
|
||||
"City": "广州市",
|
||||
"Area": "海珠区",
|
||||
"Address": "XX路XX号XX大厦XX栋XX"
|
||||
},
|
||||
"Receiver": {
|
||||
"Name": "王小蒙",
|
||||
"Tel": "029-77777777",
|
||||
"Mobile": "18610000000",
|
||||
"Company": "公司名",
|
||||
"PostCode": "654321",
|
||||
"Country": "中国",
|
||||
"Province": "广东省",
|
||||
"City": "广州市",
|
||||
"Area": "天河区",
|
||||
"Address": "XX路XX号XX大厦XX栋XX"
|
||||
},
|
||||
"Cargo": {
|
||||
"Weight": 1.2,
|
||||
"Space_X": 20.5,
|
||||
"Space_Y": 15,
|
||||
"Space_Z": 10,
|
||||
"Count": 2,
|
||||
"DetailList": [
|
||||
{
|
||||
"Name": "一千零一夜钻石包",
|
||||
"Count": 1
|
||||
},
|
||||
{
|
||||
"Name": "爱马仕柏金钻石包",
|
||||
"Count": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"Insured": {
|
||||
"UseInsured": 1,
|
||||
"InsuredValue": 10000
|
||||
},
|
||||
"Service": {
|
||||
"ServiceType": 0,
|
||||
"ServiceName": "标准快递"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[gh_abcdefg]]></ToUserName>
|
||||
<FromUserName><![CDATA[oABCD]]></FromUserName>
|
||||
<CreateTime>1533042556</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[add_waybill]]></Event>
|
||||
<Token>1234ABC234523451</Token>
|
||||
<OrderID><![CDATA[012345678901234567890123456789]]></OrderID>
|
||||
<BizID><![CDATA[xyz]]></BizID>
|
||||
<BizPwd><![CDATA[xyz123]]></BizPwd>
|
||||
<ShopAppID><![CDATA[wxABCD]]></ShopAppID>
|
||||
<WayBillID><![CDATA[123456789]]></WayBillID>
|
||||
<Remark><![CDATA[易碎物品]]></Remark>
|
||||
<Sender>
|
||||
<Name><![CDATA[张三]]></Name>
|
||||
<Tel><![CDATA[020-88888888]]></Tel>
|
||||
<Mobile><![CDATA[18666666666]]></Mobile>
|
||||
<Company><![CDATA[公司名]]></Company>
|
||||
<PostCode><![CDATA[123456]]></PostCode>
|
||||
<Country><![CDATA[中国]]></Country>
|
||||
<Province><![CDATA[广东省]]></Province>
|
||||
<City><![CDATA[广州市]]></City>
|
||||
<Area><![CDATA[海珠区]]></Area>
|
||||
<Address><![CDATA[XX路XX号XX大厦XX栋XX]]></Address>
|
||||
</Sender>
|
||||
<Receiver>
|
||||
<Name><![CDATA[王小蒙]]></Name>
|
||||
<Tel><![CDATA[029-77777777]]></Tel>
|
||||
<Mobile><![CDATA[18610000000]]></Mobile>
|
||||
<Company><![CDATA[公司名]]></Company>
|
||||
<PostCode><![CDATA[654321]]></PostCode>
|
||||
<Country><![CDATA[中国]]></Country>
|
||||
<Province><![CDATA[广东省]]></Province>
|
||||
<City><![CDATA[广州市]]></City>
|
||||
<Area><![CDATA[天河区]]></Area>
|
||||
<Address><![CDATA[XX路XX号XX大厦XX栋XX]]></Address>
|
||||
</Receiver>
|
||||
<Cargo>
|
||||
<Weight>1.2</Weight>
|
||||
<Space_X>20.5</Space_X>
|
||||
<Space_Y>15.0</Space_Y>
|
||||
<Space_Z>10.0</Space_Z>
|
||||
<Count>2</Count>
|
||||
<DetailList>
|
||||
<Name><![CDATA[一千零一夜钻石包]]></Name>
|
||||
<Count>1</Count>
|
||||
</DetailList>
|
||||
<DetailList>
|
||||
<Name><![CDATA[爱马仕柏金钻石包]]></Name>
|
||||
<Count>1</Count>
|
||||
</DetailList>
|
||||
</Cargo>
|
||||
<Insured>
|
||||
<UseInsured>1</UseInsured>
|
||||
<InsuredValue>10000</InsuredValue>
|
||||
</Insured>
|
||||
<Service>
|
||||
<ServiceType>0</ServiceType>
|
||||
<ServiceName><![CDATA[标准快递]]></ServiceName>
|
||||
</Service>
|
||||
</xml>
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ToUserName": "gh_abcdefg",
|
||||
"FromUserName": "oABCD",
|
||||
"CreateTime": 1533042556,
|
||||
"MsgType": "event",
|
||||
"Event": "cancel_waybill",
|
||||
"BizID": "xyz",
|
||||
"BizPwd": "xyz123",
|
||||
"ShopAppID": "wxABCD",
|
||||
"OrderID": "012345678901234567890123456789",
|
||||
"WayBillID": "123456789"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[gh_abcdefg]]></ToUserName>
|
||||
<FromUserName><![CDATA[oABCD]]></FromUserName>
|
||||
<CreateTime>1533042556</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[cancel_waybill]]></Event>
|
||||
<BizID><![CDATA[xyz]]></BizID>
|
||||
<BizPwd><![CDATA[xyz123]]></BizPwd>
|
||||
<ShopAppID><![CDATA[wxABCD]]></ShopAppID>
|
||||
<OrderID><![CDATA[012345678901234567890123456789]]></OrderID>
|
||||
<WayBillID><![CDATA[123456789]]></WayBillID>
|
||||
</xml>
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"ToUserName": "gh_abcdefg",
|
||||
"FromUserName": "oABCD",
|
||||
"CreateTime": 1533042556,
|
||||
"MsgType": "event",
|
||||
"Event": "check_biz",
|
||||
"BizID": "xyz",
|
||||
"BizPwd": "xyz123",
|
||||
"ShopAppID": "wxABCD",
|
||||
"ShopName": "商户名称",
|
||||
"ShopTelphone": "18677778888",
|
||||
"ShopContact": "村正",
|
||||
"ServiceName": "标准快递",
|
||||
"SenderProvince": "广东省",
|
||||
"SenderCity": "广州市",
|
||||
"SenderArea": "海珠区",
|
||||
"SenderAddress": "新港中路397号"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[gh_abcdefg]]></ToUserName>
|
||||
<FromUserName><![CDATA[oABCD]]></FromUserName>
|
||||
<CreateTime>1533042556</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[check_biz]]></Event>
|
||||
<BizID><![CDATA[xyz]]></BizID>
|
||||
<BizPwd><![CDATA[xyz123]]></BizPwd>
|
||||
<ShopAppID><![CDATA[wxABCD]]></ShopAppID>
|
||||
<ShopName><![CDATA[商户名称]]></ShopName>
|
||||
<ShopTelphone><![CDATA[18677778888]]></ShopTelphone>
|
||||
<ShopContact><![CDATA[村正]]></ShopContact>
|
||||
<ServiceName><![CDATA[标准快递]]></ServiceName>
|
||||
<SenderProvince><![CDATA[广东省]]></SenderProvince>
|
||||
<SenderCity><![CDATA[广州市]]></SenderCity>
|
||||
<SenderArea><![CDATA[海珠区]]></SenderArea>
|
||||
<SenderAddress><![CDATA[新港中路397号]]></SenderAddress>
|
||||
</xml>
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ToUserName": "gh_abcdefg",
|
||||
"FromUserName": "oABCD",
|
||||
"CreateTime": 1533042556,
|
||||
"MsgType": "event",
|
||||
"Event": "get_quota",
|
||||
"BizID": "xyz",
|
||||
"BizPwd": "xyz123",
|
||||
"ShopAppID": "wxABCD"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[gh_abcdefg]]></ToUserName>
|
||||
<FromUserName><![CDATA[oABCD]]></FromUserName>
|
||||
<CreateTime>1533042556</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[get_quota]]></Event>
|
||||
<BizID><![CDATA[xyz]]></BizID>
|
||||
<BizPwd><![CDATA[xyz123]]></BizPwd>
|
||||
<ShopAppID><![CDATA[wxABCD]]></ShopAppID>
|
||||
</xml>
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ToUserName": "toUser",
|
||||
"FromUserName": "fromUser",
|
||||
"CreateTime": 1546924844,
|
||||
"MsgType": "event",
|
||||
"Event": "update_business_bind_result",
|
||||
"delivery_id": "EMS",
|
||||
"biz_id": "1234567"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<xml>
|
||||
<ToUserName><![CDATA[toUser]]></ToUserName>
|
||||
<FromUserName><![CDATA[fromUser]]></FromUserName>
|
||||
<CreateTime>1546924844</CreateTime>
|
||||
<MsgType><![CDATA[event]]></MsgType>
|
||||
<Event><![CDATA[update_business_bind_result]]></Event>
|
||||
<delivery_id><![CDATA[EMS]]></delivery_id>
|
||||
<biz_id><![CDATA[1234567]]></biz_id>
|
||||
</xml>
|
||||
Reference in New Issue
Block a user