fix(mining-wallet-service): pool-account GET :type 改为 @Public() 允许内网服务间调用

mining-admin-service 通过 fetch 查询余额时无 token,@AdminOnly() 导致 401,UI 始终显示 0.00

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-03 09:21:39 -08:00
parent 17ecc9954f
commit c7978f6fb5
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ export class PoolAccountController {
}
@Get(':type')
@AdminOnly()
@ApiOperation({ summary: '获取特定类型池账户' })
@Public()
@ApiOperation({ summary: '获取特定类型池账户(内网服务间调用)' })
async findByType(@Param('type') type: PoolAccountType) {
return this.poolAccountService.findByType(type);
}