12121
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user