mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-06-06 18:08:18 +08:00
fix: 修复授权接口
This commit is contained in:
+1
@@ -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