POST api/Common/UpdateCaptchaSetting

FC - 更新人机验证设定

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FC - 更新人机验证设定

boolean

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>