|
@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author liutao
|
|
* @author liutao
|
|
@@ -49,6 +50,17 @@ public class SupplierController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private IEnterpriseService enterpriseService;
|
|
private IEnterpriseService enterpriseService;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据关键字模糊查询企业 企查查886高级接口
|
|
|
|
+ */
|
|
|
|
+ @RequestMapping("getBusinessByKeyWord")
|
|
|
|
+ public ResponseJson getBusinessByKeyWord(@RequestParam String keyword){
|
|
|
|
+ List<Enterprise> enterpriseList = enterpriseService.getBusinessByKeyWord(keyword);
|
|
|
|
+ return new ResponseJson(enterpriseList);
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 开启流程
|
|
* 开启流程
|
|
* @param supplierInfo
|
|
* @param supplierInfo
|