feat(checkin): add check-in functionality with status retrieval and user quota rewards

This commit is contained in:
CaIon
2026-01-02 23:00:33 +08:00
parent a3c1bc6350
commit d340112ce2
16 changed files with 970 additions and 48 deletions

View File

@@ -114,6 +114,7 @@ func GetStatus(c *gin.Context) {
"setup": constant.Setup,
"user_agreement_enabled": legalSetting.UserAgreement != "",
"privacy_policy_enabled": legalSetting.PrivacyPolicy != "",
"checkin_enabled": operation_setting.GetCheckinSetting().Enabled,
}
// 根据启用状态注入可选内容