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