Esempio n. 1
0
        public async Task <IActionResult> List()
        {
            UserData user = UserData.Current;

            if (user != null)
            {
            }
            else
            {
                return(Json(false, "未登录", null));
            }
            List <BroadcastRoomDTO> list = await _followService.GetFollowedRoom(user.UserId);

            return(Json(true, "成功获取数据", list));
        }