12121
This commit is contained in:
@@ -102,6 +102,11 @@ public class GoodsController : ControllerBase
|
||||
|
||||
if (goodsInfo.code == nameof(GoodsEnum.Code.Drug))
|
||||
{
|
||||
if (await UserStateTool.CheckUserFight(userId))
|
||||
{
|
||||
return PoAction.Message($"战斗状态下无法使用!");
|
||||
}
|
||||
|
||||
var ck = await _goodsService.CheckUseDrug(userId, goodsId, goodsInfo.content);
|
||||
if (!string.IsNullOrEmpty(ck))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user