fix(web): 修复列表响应参数名错误

This commit is contained in:
2023-07-07 11:49:16 +08:00
parent 6c59bc7657
commit b6d60af652

View File

@@ -8,7 +8,7 @@ package com.lanyuanxiaoyao.service.web.controller.base;
*/
public class AmisCrudResponse extends AmisMapResponse {
public void setData(Iterable<?> list) {
getData().put("item", list);
getData().put("items", list);
}
public void setTotal(Long total) {