fix: 修复授权接口
This commit is contained in:
@@ -24,6 +24,7 @@ public class MiningPoolService : ApplicationService
|
|||||||
/// 内测-白嫖-获取自动挖矿卡
|
/// 内测-白嫖-获取自动挖矿卡
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("mining-pool/on-hook")]
|
[HttpPost("mining-pool/on-hook")]
|
||||||
|
[Authorize]
|
||||||
public async Task GetOnHookAsync()
|
public async Task GetOnHookAsync()
|
||||||
{
|
{
|
||||||
await _manager.GetOnHookAsync(CurrentUser.GetId());
|
await _manager.GetOnHookAsync(CurrentUser.GetId());
|
||||||
|
|||||||
Reference in New Issue
Block a user