feat: add system configration item to close rewarding function

This commit is contained in:
RockYang
2023-10-19 11:19:29 +08:00
parent 9d8e3f5049
commit 5b5150e6d4
5 changed files with 25 additions and 7 deletions

View File

@@ -119,4 +119,5 @@ type SystemConfig struct {
EnabledDraw bool `json:"enabled_draw"` // 启动 AI 绘画功能
RewardImg string `json:"reward_img"` // 众筹收款二维码地址
EnabledFunction bool `json:"enabled_function"` // 启用 API 函数功能
EnabledReward bool `json:"enabled_reward"` // 启用众筹功能
}