12121
This commit is contained in:
@@ -20,9 +20,10 @@ public class MapController : ControllerBase
|
||||
private readonly IUnitUserAccService _accService;
|
||||
private readonly IGameSkillService _skillService;
|
||||
private readonly IGameGoodsService _goodsService;
|
||||
private readonly IGameTeamService _teamService;
|
||||
public MapController(IUnitUserService userService, IGameMapService mapService, IGameChatService chatService,
|
||||
IUnitUserAttrService attrService, IMessageService messageService, IUnitUserWeight weightService,
|
||||
IUnitUserAccService accService, IGameSkillService skillService,IGameGoodsService goodsService)
|
||||
IUnitUserAccService accService, IGameSkillService skillService,IGameGoodsService goodsService,IGameTeamService teamService)
|
||||
{
|
||||
_userService = userService;
|
||||
_mapService = mapService;
|
||||
@@ -33,6 +34,7 @@ public class MapController : ControllerBase
|
||||
_accService = accService;
|
||||
_skillService = skillService;
|
||||
_goodsService = goodsService;
|
||||
_teamService = teamService;
|
||||
}
|
||||
|
||||
#region 地图相关
|
||||
@@ -87,7 +89,8 @@ public class MapController : ControllerBase
|
||||
#endregion
|
||||
|
||||
//公聊信息
|
||||
string teamId = "";
|
||||
var myTeam = await _teamService.GetUserTeamData(userId);
|
||||
string teamId =myTeam.teamId ;
|
||||
string groupId = "";
|
||||
var chatData = await _chatService.GetChatTop(userId, area, 2, teamId, groupId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user