如何在@Result Annotation 中指定要转换为 JSON 的变量?
现在它将所有带有 getter 的变量转换为 JSON 字符串。
如何在@Result 中使用 params 属性?
@Action(value = "save", results = { @Result(name = "success", type = "json") })
如何在@Result Annotation 中指定要转换为 JSON 的变量?
现在它将所有带有 getter 的变量转换为 JSON 字符串。
如何在@Result 中使用 params 属性?
@Action(value = "save", results = { @Result(name = "success", type = "json") })