接口类型有:
- 根据日期进行搜索接口
- 根据类型搜索接口
- 根据关键词搜索接口
- 详情接口
加密:
使用的是自定义的一种加密方法
解密:
方法:desede/CBC/PKCS5Padding
KEY:wXEh9vCYQDqSjfFnxX2Xd7dy 来自返回数据
IV:20200228 当前日期
请求数据如下:
curl -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; Nexus 6 Build/MOB31T)' -H 'Host: wenshuapp.court.gov.cn' --data "request=eyJpZCI6IjIwMjAwMjI4MjEzMjM0IiwiY29tbWFuZCI6InF1ZXJ5RG9jIiwicGFyYW1zIjp7InBhZ2VOdW0iOiI4Iiwic29ydEZpZWxkcyI6InM1MDpkZXNjIiwiY2lwaGVydGV4dCI6IjExMDExMCAxMTAwMTEgMTAwMDExMCAxMDEwMTExIDEwMTAxMTAgMTEwMTAxIDEwMDExMDEgMTEwMDAxIDEwMDEwMTAgMTExMDExMSAxMTEwMDEwIDEwMDExMDAgMTEwMTEwMCAxMTEwMDEwIDExMDAxMSAxMDEwMTAwIDEwMTAwMDAgMTAwMDExMSAxMDAwMDExIDExMTAwMTAgMTAwMDAwMSAxMDAwMTEwIDExMTEwMDEgMTEwMDAxMSAxMTAwMTAgMTEwMDAwIDExMDAxMCAxMTAwMDAgMTEwMDAwIDExMDAxMCAxMTAwMTAgMTExMDAwIDEwMTEwMDEgMTAwMDEwMCAxMTEwMTEwIDExMDAxMSAxMTAxMTEgMTEwMDEwMCAxMTAxMTAgMTAwMTExMSAxMDAxMTAxIDExMDEwMTAgMTEwMDAwMSAxMTAxMTEwIDEwMTAxMDEgMTEwMDAwIDExMDAxMDAgMTEwMTEwMCAxMTEwMDAxIDEwMDExMTAgMTExMTAxMCAxMDAwMTExIDExMDAxMDEgMTAxMDAwMSAxMTExMDEgMTExMTAxIiwiZGV2dHlwZSI6IjEiLCJkZXZpZCI6IjM2NTk1ODdjNmUwMDQxMmU5NTJhN2U5MzA1MmQ0Yjk1IiwicGFnZVNpemUiOiIyMCIsInF1ZXJ5Q29uZGl0aW9uIjpbeyJrZXkiOiJzOCIsInZhbHVlIjoiMDQifV19fQ%3D%3D" --compressed 'http://wenshuapp.court.gov.cn/appinterface/rest.q4w'
加密数据解密以后如下:
{"id":"20200228222852","command":"queryDoc","params":{"pageNum":"5","sortFields":"s50:desc","ciphertext":"1010001 110101 1010000 1011000 1101110 1001111 1000010 1011001 1101101 1110100 1100100 1010011 1101011 1101011 1100010 110000 111001 1000100 1110101 1101000 1100111 1010101 1000111 1110101 110010 110000 110010 110000 110000 110010 110010 111000 1111001 1001110 1010001 1101001 1100111 1101011 1000101 1010000 1010001 1001110 1010010 1011010 1101011 1001110 110001 1110101 1000111 110010 110011 110010 110010 1110111 111101 111101","devtype":"1","devid":"3659587c6e00412e952a7e93052d4b95","pageSize":"20","queryCondition":[{"key":"s8","value":"04"}]}}
网友评论