接口优化
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user