|
|
@@ -14,21 +14,23 @@ func GetStatus(c *gin.Context) {
|
|
|
"success": true,
|
|
|
"message": "",
|
|
|
"data": gin.H{
|
|
|
- "version": common.Version,
|
|
|
- "start_time": common.StartTime,
|
|
|
- "email_verification": common.EmailVerificationEnabled,
|
|
|
- "github_oauth": common.GitHubOAuthEnabled,
|
|
|
- "github_client_id": common.GitHubClientId,
|
|
|
- "system_name": common.SystemName,
|
|
|
- "logo": common.Logo,
|
|
|
- "footer_html": common.Footer,
|
|
|
- "wechat_qrcode": common.WeChatAccountQRCodeImageURL,
|
|
|
- "wechat_login": common.WeChatAuthEnabled,
|
|
|
- "server_address": common.ServerAddress,
|
|
|
- "turnstile_check": common.TurnstileCheckEnabled,
|
|
|
- "turnstile_site_key": common.TurnstileSiteKey,
|
|
|
- "top_up_link": common.TopUpLink,
|
|
|
- "chat_link": common.ChatLink,
|
|
|
+ "version": common.Version,
|
|
|
+ "start_time": common.StartTime,
|
|
|
+ "email_verification": common.EmailVerificationEnabled,
|
|
|
+ "github_oauth": common.GitHubOAuthEnabled,
|
|
|
+ "github_client_id": common.GitHubClientId,
|
|
|
+ "system_name": common.SystemName,
|
|
|
+ "logo": common.Logo,
|
|
|
+ "footer_html": common.Footer,
|
|
|
+ "wechat_qrcode": common.WeChatAccountQRCodeImageURL,
|
|
|
+ "wechat_login": common.WeChatAuthEnabled,
|
|
|
+ "server_address": common.ServerAddress,
|
|
|
+ "turnstile_check": common.TurnstileCheckEnabled,
|
|
|
+ "turnstile_site_key": common.TurnstileSiteKey,
|
|
|
+ "top_up_link": common.TopUpLink,
|
|
|
+ "chat_link": common.ChatLink,
|
|
|
+ "quota_per_unit": common.QuotaPerUnit,
|
|
|
+ "display_in_currency": common.DisplayInCurrencyEnabled,
|
|
|
},
|
|
|
})
|
|
|
return
|