add plan activity config (#6139)

* activity points

* modal

* ui

* fix

* pref: zod schema

* perf: ad api with zod

* perf: plan year switch

* perf: plan

* i18n

* fix: hook

* fix: activity checker

* fix: i18n

* fix clear token

* fix

* back

* can close modal in pay

* ad token

* rename

* fix

* total points

* eng i18n

---------

Co-authored-by: archer <545436317@qq.com>
This commit is contained in:
heheer
2025-12-24 18:22:25 +08:00
committed by GitHub
parent e53242e8bc
commit 4fbe27f2df
52 changed files with 1541 additions and 284 deletions

View File

@@ -3,7 +3,8 @@ export enum SystemConfigsTypeEnum {
fastgptPro = 'fastgptPro',
systemMsgModal = 'systemMsgModal',
license = 'license',
operationalAd = 'operationalAd'
operationalAd = 'operationalAd',
activityAd = 'activityAd'
}
export const SystemConfigsTypeMap = {
@@ -21,5 +22,8 @@ export const SystemConfigsTypeMap = {
},
[SystemConfigsTypeEnum.operationalAd]: {
label: 'operationalAd'
},
[SystemConfigsTypeEnum.activityAd]: {
label: 'activityAd'
}
};