123
This commit is contained in:
@@ -34,7 +34,7 @@ public class UserGreetAppController {
|
||||
@GetMapping("/list")
|
||||
@Operation(summary = "获取当前用户打招呼列表")
|
||||
@Log(title = "获取当前用户打招呼列表", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
public R<List<UserGreetListVo>> list(){
|
||||
public R<UserGreetVo> list(){
|
||||
Long userId = LoginHelper.getUserId();
|
||||
User user = userService.getById(userId);
|
||||
if(user == null || user.getIsAnchor() == 0){
|
||||
@@ -46,7 +46,7 @@ public class UserGreetAppController {
|
||||
vo.setList(list);
|
||||
vo.setCount(20);
|
||||
vo.setAllowSend(true);
|
||||
return R.ok();
|
||||
return R.ok(vo);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
|
||||
Reference in New Issue
Block a user