Commit 2a4f43fa authored by 季圣华's avatar 季圣华
Browse files

接口优化

parent 80753381
...@@ -22,16 +22,9 @@ import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; ...@@ -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,
......
Supports Markdown
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