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