fix(web): 修复列表响应参数名错误
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user