test(wxapi): 适配新的模型测试

This commit is contained in:
Fu Diwei
2021-05-28 19:27:38 +08:00
parent dc78ea6577
commit 27cd4178e7
988 changed files with 11052 additions and 206 deletions

View File

@@ -0,0 +1,8 @@
{
"invoice_info": {
"payee": "测试非税票据",
"base_info": {
"logo_url": "http://mmbiz.qpic.cn/mmbiz/iaL1LJM1mF9aRKPZJkmG8xXhiaHqkKSVMMWeN3hLut7X7hicFNjakmxibMLGWpXrEXB33367o7zHN0CwngnQY7zb7g/0"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"card_id": "pjZ8Yt9WoOePThU0NfUKz5-tBEWU"
}

View File

@@ -0,0 +1,9 @@
{
"s_pappid": "wxabcd",
"order_id": "1234",
"money": 11,
"timestamp": 1474875876,
"source": "web",
"redirect_url": "https://mp.weixin.qq.com",
"ticket": "tttt"
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"auth_url": "http://auth_url",
"expire_time": 7200
}

View File

@@ -0,0 +1,17 @@
{
"order_id": "1511169724",
"card_ext": {
"user_card": {
"invoice_user_data": {
"billing_time": "1511169724",
"billing_code": "aabbccdd",
"billing_no": "1511169724",
"s_pdf_media_id": "s_pdf_media_id",
"fee": 123,
"title": "灌哥发票"
}
}
},
"card_id": "pjZ8Yt7xiy3b9UfffRIA4Tm2xTnw",
"appid": "wxc0b84a53ed8e8d29"
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"code": "682xxxx661927",
"openid": "ojZ8Ytz4lESxxxx_R1TvB2Kds"
}

View File

@@ -0,0 +1,6 @@
{
"appid": "wx6cc9648de104270d",
"mch_id": "1900016021",
"bill_date": "20170925",
"bill_type": "ALL"
}

View File

@@ -0,0 +1,6 @@
{
"appid": "wx5f6e43071809a9dd",
"payment_notice_no": "34000019081115065040",
"department_code": "065080906",
"region_code": "340000"
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"order_id_list": [
"AQCAxFJwcrQqI2BkDAqRH-UhDq2D",
"AQAAgrVxcrRuhXBkDAqRH-UhDq2D",
"AQCAFxFzcrQqI2BkDAqRH-UhDq2D",
"AQCA5_3kcrSQCxMJDAGMadMAAAAA",
"AQCA6ADlcrQqI2BkDAGMadMAAAAA",
"AQCA62hwdbQqI2BkDAqRH-U4tE4p"
],
"paid_order_id": "AQCA62hwdbQqI2BkDAqRH-U4tE4p"
}

View File

@@ -0,0 +1,4 @@
{
"appid": "wx5f6e43071809a9dd",
"order_id": "AQCAGxwqp6-aBeIKDJ7fvb6x3dZt"
}

View File

@@ -0,0 +1,92 @@
{
"errcode": 0,
"errmsg": "ok",
"appid": "wx5f6e43071809a9dd",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U",
"order_id": "AQCAGxwqp6-aBeIKDJ7fvb6x3dZt",
"create_time": 1508847678,
"pay_finish_time": 0,
"desc": "测试办证缴费",
"fee": 1,
"fee_type": 1,
"trans_id": "",
"status": 12,
"bank_id": "test_bank_id",
"bank_name": "测试_银行",
"bank_account": "6215385809487657",
"refund_finish_time": 0,
"items": [
{
"no": 1,
"item_id": "000001",
"item_name": "测试办证缴费1",
"overdue": 0,
"fee": 1
},
{
"no": 2,
"item_id": "000002",
"item_name": "测试办证缴费2",
"overdue": 0,
"fee": 0
}
],
"bill_type_code": "",
"bill_no": "",
"payment_info_source": 2,
"payment_notice_no": "08111639088",
"department_code": "118610002",
"department_name": "测试执收单位",
"payment_notice_type": 1,
"region_code": "440000",
"notify_history": [
{
"appid": "wx5f6e43071809a9dd",
"name": "测试财政",
"notify_detail": [
{
"notify_time": 1524023367,
"ret": 0,
"cost_time": 39,
"wxnontaxstr": "2ba37f90d155d390",
"status": 3,
"errcode": 0,
"errmsg": ""
}
],
"notify_cnt": 1
},
{
"appid": "wxefd0818f53b9b82f",
"name": "测试委办局",
"notify_detail": [
{
"notify_time": 1524023367,
"ret": 0,
"cost_time": 20,
"wxnontaxstr": "f7ad824e08ac4bc5",
"status": 3,
"errcode": 0,
"errmsg": ""
}
],
"notify_cnt": 1
},
{
"appid": "wxf1bfa94c33668abf",
"name": "测试银行",
"notify_detail": [
{
"notify_time": 1524023367,
"ret": 0,
"cost_time": 18,
"wxnontaxstr": "2e628b6f1e3e9bf3",
"status": 3,
"errcode": 0,
"errmsg": ""
}
],
"notify_cnt": 1
}
]
}

View File

@@ -0,0 +1,3 @@
{
"wx_realname_token": "8e1e219ec15953101515058721"
}

View File

@@ -0,0 +1,8 @@
{
"errcode": 0,
"errmsg": "ok",
"key_encrypt_type": "RSA",
"data_encrypt_type": "AES_ECB",
"data": "f06i5EaQQiBV5uXoKcfjYFkT/UKGGuU77sVlMjpC0kKea/wz9Ow1WPlD19w3g1vXFgBqHykP1s+Iy3LjfiqYNQ==",
"key": "V60tpxnZPsBfFQhEnCWVeetm07OUk3PyH4PYozNlK1WxaYqbLAnKld/sMN+pjo8Td6mhAImcOq7Sue8h0SxGzTA4o3Wf32ff2IoUbTHPO0AgkpZJy36eECkY/TklgaVqPtqE9iJ66Qt+0/GM3pdQ3f8FYMVmkvK6m53aHn1u6cX6mL0nbYBfVOpyGOh3iIuHnBCW3IeXXa41D6DbHrzmeKbBi6T56wxHLYnmMB7P20+EzSdCQZzeY1MtdT0TT1KrlkZsL2fYKcjg/ytvGiEewH/jY4zf83AVJW3KjSDJaLZGXYsPvNHopAQTP9jz/hUtIa2fDgSAi3mGdxDsJcesmQ=="
}

View File

@@ -0,0 +1,31 @@
{
"appid": "wx5f6e43071809a9dd",
"bank_id": "test_bank_id",
"bank_account": "",
"desc": "测试办证缴费",
"fee": 1,
"user_name": "*三强",
"items": [
{
"no": 1,
"item_id": "000001",
"item_name": "测试办证缴费1",
"overdue": 0,
"fee": 1
},
{
"no": 2,
"item_id": "000002",
"item_name": "测试办证缴费2",
"overdue": 0,
"fee": 0
}
],
"payment_notice_create_time": 1500967298,
"payment_expire_date": "20190102",
"payment_notice_no": " 08111639088",
"department_code": "118610002",
"department_name": "测试执收单位",
"region_code": "440000",
"auth_code": " 134971951305811268"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"order_id": "AQAA_UjjdbLiUjMKDJ7fvb4AAAAA"
}

View File

@@ -0,0 +1,4 @@
{
"appid": "wx6cc9648de104270d",
"order_id": "AQCAGxwqp6-aBeIKDJ7fvb6x3dZt"
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,9 @@
{
"appid": "wx5f6e43071809a9dd",
"service_id": 123,
"bank_id": "470690268",
"payment_notice_no": "440204190185356",
"department_code": "143605002004",
"payment_notice_type": 1,
"region_code": "440000"
}

View File

@@ -0,0 +1,21 @@
{
"department_code": "143605002004",
"department_name": "韶关市公安局交警支队市区一大队",
"errcode": 0,
"errmsg": "通知书未缴款",
"fee": 20000,
"items": [
{
"fee": 20000,
"item_id": "103050101200",
"item_name": "交通违法罚款",
"no": 1,
"overdue": 0
}
],
"payment_notice_create_time": 1508806661,
"payment_notice_no": "440204190185356",
"payment_notice_type": 1,
"region_code": "440000",
"user_name": "叶*梅"
}

View File

@@ -0,0 +1,5 @@
{
"appid": "wx6cc9648de104270d",
"order_id": "AQCAGxwqp6-aBeIKDJ7fvb6x3dZt",
"reason": "线上线下重复缴费解档票据号为DA01651861"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"refund_order_id": "xxxx"
}

View File

@@ -0,0 +1,27 @@
{
"appid": "wx5f6e43071809a9dd",
"bank_account": "",
"bank_id": "test_bank_id",
"department_code": "1",
"department_name": "test",
"desc": "测试缴费",
"fee": 2,
"ip": "113.68.115.241",
"items": [
{
"fee": 2,
"item_id": "103050101200",
"item_name": "测试缴费2",
"no": 1,
"overdue": 0
}
],
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U",
"payment_expire_date": "",
"payment_notice_no": "08111639088",
"payment_notice_type": 1,
"region_code": "440000",
"return_url": "http://cockpouncher.55555.io/nontax-wxpay/pay_demand_result.html?type=showPayResult&region_code=44000&unitNo=1&payNoticeNo=1",
"service_id": 0,
"user_name": "张*丰"
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"order_id": "AQCAzieFp6-dC8EKDJ7fvb6x3dZt",
"pay_url": "https://mp.weixin.qq.com/intp/nontax/pay?action=page&order_id=AQCAzieFp6-dC8EKDJ7fvb6x3dZt#wechat_redirect"
}

View File

@@ -0,0 +1,16 @@
{
"appid": "wx5f6e43071809a9dd",
"bank_id": "test_bank_id",
"mch_id": "1900016021",
"region_code": "440000",
"trade_scene": "PARKING",
"scene_info": {
"start_time": 1542351485,
"notify_url": "https://weixin.qq.com",
"car_type": "小型车",
"parking_name": "test_parking_name",
"free_time": 1200,
"plate_number": "粤B888888",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U"
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"user_state": "NORMAL"
}

View File

@@ -0,0 +1,23 @@
{
"appid": "wx5f6e43071809a9dd",
"bank_id": "test_bank_id",
"bank_account": "",
"mch_id": "1900016021",
"payment_notice_no": "1111111111",
"department_code": "222222",
"payment_notice_type": 1,
"region_code": "440000",
"department_name": "测试执收单位名称",
"desc": "测试desc",
"fee": 1,
"goods_tag": "",
"trade_scene": "PARKING SPACE",
"scene_info": {
"start_time": 1542351485,
"charging_time": 3600,
"car_type": "小型车",
"parking_name": "test_parking_name",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U",
"space_number": "D666666"
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"order_id": "AQAAhNw2srPiUjMKDJ7fvb4AAAAA"
}

View File

@@ -0,0 +1,13 @@
{
"appid": "wx5f6e43071809a9dd",
"bank_id": "test_bank_id",
"bank_account": "",
"mch_id": "1900016021",
"region_code": "440000",
"trade_scene": "PARKING",
"jump_scene": "H5",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U",
"plate_number": "粤B888888",
"material_info": "test_material_info",
"channel_type": "ETC"
}

View File

@@ -0,0 +1,23 @@
{
"errcode": 0,
"errmsg": "ok",
"user_state": "NORMAL",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U",
"path": "https:\/\/payapp.weixin.qq.com\/vehicle\/plat\/indextemplate",
"plate_number_info": [],
"authorize_package": {
"mch_id": "1800004561",
"sub_mch_id": "1900016021",
"appid": "wxc971985892358997",
"sub_appid": "wx6cc9648de104270d",
"nonce_str": "SwwVkZWoXlIWX7AG2c3ItkklTo138PEO",
"sign_type": "HMAC-SHA256",
"sign": "67D1B1232C9837E5885216DA349632AD9CE080BBD2D54DF13314260F4CD5D9C8",
"trade_scene": "PARKING",
"openid": "ooaLEwgrB9PRsx-IdsJxEQiKgjbQ",
"sub_openid": "oFkLxtyJswfbex9crZWHGDYG5NIw",
"plate_number": "粤B888888",
"material_info": "test_material_info",
"channel_type": "ETC"
}
}