123
This commit is contained in:
@@ -45,7 +45,7 @@ public class UserGreetAppController {
|
|||||||
List<UserGreetListVo> list = BeanConvertUtil.convertListTo(userGreet, UserGreetListVo::new);
|
List<UserGreetListVo> list = BeanConvertUtil.convertListTo(userGreet, UserGreetListVo::new);
|
||||||
vo.setList(list);
|
vo.setList(list);
|
||||||
vo.setCount(20);
|
vo.setCount(20);
|
||||||
vo.setAllowSend(1);
|
vo.setAllowSend(true);
|
||||||
return R.ok();
|
return R.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
package com.ruoyi.cai.dto.app.vo.user;
|
package com.ruoyi.cai.dto.app.vo.user;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class UserGreetVo {
|
public class UserGreetVo {
|
||||||
private Integer allowSend;
|
@Schema(description = "是否允许打招呼")
|
||||||
|
private boolean allowSend;
|
||||||
|
@Schema(description = "一次性打招呼的最大人数")
|
||||||
private Integer count;
|
private Integer count;
|
||||||
|
|
||||||
private List<UserGreetListVo> list;
|
private List<UserGreetListVo> list;
|
||||||
|
|||||||
Reference in New Issue
Block a user