Commit faa9669b authored by 张欣's avatar 张欣

对接企查查接口

parent e7c9475f
......@@ -31,7 +31,7 @@ public class QccController {
* @param keyword
* @return
*/
@PostMapping("/qiyeSearch")
@GetMapping("/qiyeSearch")
public ResponseEntity<String> qiyeSearch(@RequestParam String keyword) throws Exception {
String interfaceUrl = "http://api.qichacha.com/ECIV4/Search";
HttpHead reqHeader = new HttpHead();
......@@ -50,7 +50,7 @@ public class QccController {
* @param keyword
* @return
*/
@PostMapping("/qiyePartnerInfoQuery")
@GetMapping("/qiyePartnerInfoQuery")
public ResponseEntity<String> qiyePartnerInfoQuery(@RequestParam String keyword) throws Exception {
String interfaceUrl = "http://api.qichacha.com/ECIPartner/GetList";
HttpHead reqHeader = new HttpHead();
......@@ -71,7 +71,7 @@ public class QccController {
* @param personName 人员姓名
* @return
*/
@PostMapping("/personHisOperCompany")
@GetMapping("/personHisOperCompany")
public ResponseEntity<String> personHisOperCompany(@RequestParam String searchKey,@RequestParam String personName) throws Exception {
String interfaceUrl = "http://api.qichacha.com/PersonHisOperCompany/GetList";
HttpHead reqHeader = new HttpHead();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment