feat(ECR-012–016): 合规、题库、时辰刷新、头像、MBTI OEJTS 与埋点

落地输入合规、探索题库、报告日/时辰刷新、账号头像、OEJTS 量表,并补齐 H5 埋点与 Admin 漏斗;同步 ESS 工件、切至自建 Git、清理 GitHub Actions。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-13 01:27:58 +08:00
co-authored by Cursor
parent 13860bf1ef
commit 89756f65b4
227 changed files with 7405 additions and 1407 deletions
@@ -76,3 +76,12 @@ func (s *Service) Get(ctx context.Context, userID uuid.UUID) (*Me, error) {
AskQuotaLeft: row.AskQuotaLeft,
}, nil
}
// IsActive reports whether the user has an active成长会员.
func (s *Service) IsActive(ctx context.Context, userID uuid.UUID) (bool, error) {
me, err := s.Get(ctx, userID)
if err != nil {
return false, err
}
return me.Active, nil
}