Closed aaachuan closed 2 years ago
运行测试时输入localhost:8080/demo/property返回为空,因index()方法返回Hutool的Dict,可以添加@ResponseBody注解
@GetMapping("/property") @ResponseBody public Dict index() { return Dict.create().set("applicationProperty", applicationProperty).set("developerProperty", developerProperty); }
运行测试时输入localhost:8080/demo/property返回为空,因index()方法返回Hutool的Dict,可以添加@ResponseBody注解