This commit is contained in:
Putoo
2026-06-13 18:07:39 +08:00
parent a68368d227
commit 404af92f96
6 changed files with 188 additions and 71 deletions

View File

@@ -129,6 +129,18 @@ public class EquController : ControllerBase
}
}
/// <summary>
/// 获取用户穿戴的装备
/// </summary>
/// <returns></returns>
[HttpGet]
public async Task<IPoAction> GetUserOnEqu()
{
string userId = StateHelper.userId;
var data = await _equService.GetUserOnEqu(userId);
return PoAction.Ok(data);
}
/// <summary>
/// 穿/卸装备
/// </summary>
@@ -248,4 +260,6 @@ public class EquController : ControllerBase
}
}
}
}