接口优化

This commit is contained in:
季圣华
2021-01-16 01:36:59 +08:00
parent 80753381bd
commit 2a4f43fa91

View File

@@ -22,16 +22,9 @@ import static com.jsh.erp.utils.ResponseJsonUtil.returnJson;
*/ */
@RestController @RestController
public class ResourceController { public class ResourceController {
private Logger logger = LoggerFactory.getLogger(ResourceController.class);
@Resource @Resource
private CommonQueryManager configResourceManager; private CommonQueryManager configResourceManager;
@GetMapping(value = "/test/heart")
public JSONObject exitHeart(HttpServletRequest request)throws Exception {
return JsonUtils.ok();
}
@GetMapping(value = "/{apiName}/info") @GetMapping(value = "/{apiName}/info")
public String getList(@PathVariable("apiName") String apiName, public String getList(@PathVariable("apiName") String apiName,
@RequestParam("id") Long id, @RequestParam("id") Long id,