feat: 品牌重命名 Sub2API -> TianShuAPI (基于官方 v0.1.46)
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

- 基于官方最新代码 upstream/main (93db889)
- 包含所有官方新功能:运维监控、促销码系统、Linux DO OAuth 等
- 仅修改品牌显示名称,保持所有功能完整
- 修改范围:前后端界面文字、i18n、邮件模板、日志输出

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
huangzhenpc
2026-01-13 10:57:07 +08:00
parent 93db889a10
commit 9b007b3c5f
25 changed files with 60 additions and 60 deletions

View File

@@ -207,7 +207,7 @@ func (s *AuthService) SendVerifyCode(ctx context.Context, email string) error {
}
// 获取网站名称
siteName := "Sub2API"
siteName := "TianShuAPI"
if s.settingService != nil {
siteName = s.settingService.GetSiteName(ctx)
}
@@ -247,7 +247,7 @@ func (s *AuthService) SendVerifyCodeAsync(ctx context.Context, email string) (*S
}
// 获取网站名称
siteName := "Sub2API"
siteName := "TianShuAPI"
if s.settingService != nil {
siteName = s.settingService.GetSiteName(ctx)
}