fix: 修复 PR #723 引入的 CI lint 和 test 编译错误

- wire_gen_test.go: 补充 NewTokenRefreshService 缺失的 tempUnschedCache 参数
- config.go, token_refresh_service.go: 修复 gofmt 格式问题
This commit is contained in:
shaw
2026-03-03 16:45:29 +08:00
parent 197c570baa
commit ccf6a921c7
3 changed files with 4 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ func TestProvideCleanup_WithMinimalDependencies_NoPanic(t *testing.T) {
nil, nil,
nil, nil,
cfg, cfg,
nil,
) )
accountExpirySvc := service.NewAccountExpiryService(nil, time.Second) accountExpirySvc := service.NewAccountExpiryService(nil, time.Second)
subscriptionExpirySvc := service.NewSubscriptionExpiryService(nil, time.Second) subscriptionExpirySvc := service.NewSubscriptionExpiryService(nil, time.Second)