@GetMapping("/count/{type}/{task}")
    public Map<String, Object> count(@PathVariable String type, @PathVariable String task) {
        return count(type, null, task);
    }
@ GetMapping ( "/count/{type}/{task}" ) public Map < String , Object > count ( @ PathVariable String type , @ PathVariable String task ) { return count ( type , null , task ) ; }
统计总数 curl http://127.0.0.1:8081/count/hbase/mytest_person2.yml

@param type 类型 hbase, es
@param task 任务名对应配置文件名 mytest_person2.yml
@return