GET api/CaptchaInfo/GetActiveSetting

获取指定启用人机验证配置

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取指定启用人机验证配置

CaptchaSettingDto
NameDescriptionTypeAdditional information
CaptchaProvider

图灵测试类型

CaptchaProviderType

None.

CaptchaType

人机验证类型

CaptchaType

None.

UseCaptcha

是否启用图灵测试

boolean

None.

AliAppSetting

阿里图灵验证App Setting

AliCaptchaAppSettingDto

None.

TxAppWebSetting

腾讯Web图灵验证App Setting

TxCaptchaAppSettingDto

None.

TxAppMiniSetting

腾讯小程序图灵验证App Setting

TxCaptchaAppSettingDto

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<CaptchaSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Captcha.Admin">
  <AliAppSetting>
    <CaptchaAppKey>sample string 1</CaptchaAppKey>
    <Scene>sample string 2</Scene>
    <SceneMobile>sample string 3</SceneMobile>
  </AliAppSetting>
  <CaptchaProvider>None</CaptchaProvider>
  <CaptchaType>All</CaptchaType>
  <TxAppMiniSetting>
    <AppSecretKey>sample string 4</AppSecretKey>
    <CaptchaAppId>1</CaptchaAppId>
    <CaptchaType>3</CaptchaType>
    <TxAppId>sample string 1</TxAppId>
    <TxAppSec>sample string 2</TxAppSec>
  </TxAppMiniSetting>
  <TxAppWebSetting>
    <AppSecretKey>sample string 4</AppSecretKey>
    <CaptchaAppId>1</CaptchaAppId>
    <CaptchaType>3</CaptchaType>
    <TxAppId>sample string 1</TxAppId>
    <TxAppSec>sample string 2</TxAppSec>
  </TxAppWebSetting>
</CaptchaSettingDto>