SiteService

GET /v1/public/site-settings

Changed on

GetPublicSiteSettings 获取公开站点配置(免认证,供 Web 首屏读取)。

Request

Response

OK

aliyunCaptchaPrefixstring
aliyunCaptchaRegionstring

阿里云验证码 2.0 前端初始化所需公开参数。

aliyunCaptchaSceneIdstring
allowRegisterboolean
apiBaseUrlstring

api_base_url API 服务公网根地址,来自 server.public_base_url,供浏览器持 API Key 直连模型网关。

captchaEnabledboolean

人机验证公开配置。密钥类凭证(阿里云 AccessKey、极验 captcha_key)永不通过公开接口下发。

captchaProviderstring

captcha_provider 生效平台:"aliyun" / "geetest";空串表示未选定(前端视为关闭)。

defaultPlanIdstring
emailAliasRestrictionEnabledboolean

email_alias_restriction_enabled 供注册页提前提示;后端仍做最终强校验。 tag 22 已由 dev 的 api_base_url 使用;该字段首次进入 dev,使用新的 tag 33 保持 wire 兼容。

emailDomainWhiteliststring[]

email_domain_whitelist 邮箱域名白名单(已归一化小写)。空列表表示不限制; 非空时注册页可据此提前提示,后端注册/发码/换绑仍做最终强校验。

emailEnabledboolean
enterpriseUpgradeEnabledboolean
geetestCaptchaIdstring

极验 GeeTest v4 前端初始化所需公开参数(captcha_id 本身即公开标识)。

invoiceApplicationEnabledboolean

用户端新申请入口开关;关闭后历史记录仍可读取。

maintenanceModeboolean
platformNamestring
platformNameEnstring

platform_name_en 平台英文名称;空串表示未配置,前端非中文语言回退 platform_name。

platformUrlstring
realnameDocumentTypesstring[]

当前能力矩阵中 provider 支持且通过 readiness 的证件类型去重列表。

realnameEnforceApikeyCreateboolean

realname_enforce_apikey_create 控制前端创建 API Key 前的主动实名提醒;后端仍做最终强校验。

realnameEnforceGatewayboolean

realname_enforce_gateway 控制前端使用模型前的主动实名提醒;网关仍做最终强校验。

realnameEnforceTopupboolean

realname_enforce_topup 控制前端充值/兑换前的主动实名提醒;后端仍做最终强校验。

realnameVerifyDefaultMethodstring

新提交未指定方式时使用的稳定默认认证方式;不是管理员可编辑配置。

realnameVerifyEnabledboolean

realname_verify_enabled 控制用户端个人设置里的实名认证入口是否可见。

realnameVerifyMethodsstring[]

realname_verify_methods 当前进程 readiness 通过且管理员已开启的认证方式列表。

supportEmailstring
trialDaysinteger

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status