[BUG] demo-properties中PropertyController下的index()方法可以添加@ResponseBody注解
aaachuan opened this issue · 0 comments
aaachuan commented
运行测试时输入localhost:8080/demo/property返回为空,因index()方法返回Hutool的Dict,可以添加@responsebody注解
@GetMapping("/property")
@ResponseBody
public Dict index() {
return Dict.create().set("applicationProperty", applicationProperty).set("developerProperty", developerProperty);
}