This commit is contained in:
2026-07-16 23:24:17 +08:00
parent 7c7ac2991a
commit c80841880c
7 changed files with 143 additions and 12 deletions

View File

@@ -362,6 +362,12 @@ public class MapController : ControllerBase
return PoAction.Message("城市不存在!");
}
int lev = await _attrService.GetUserLev(userId);
if (lev < 31)
{
return PoAction.Message("等级达到31级才可以传送哦!");
}
var userWeight = await _weightService.GetUserWeightInfo(userId);
if (userWeight.shipOnWeight > 0)
{
@@ -464,7 +470,12 @@ public class MapController : ControllerBase
{
return PoAction.Message("城市不存在!");
}
int lev = await _attrService.GetUserLev(userId);
if (lev < 31)
{
return PoAction.Message("等级达到31级才可以出海哦!");
}
var onMapInfo = await _mapService.GetMapInfo(onMap.mapId);
if (onMapInfo.cityId == cityId)