POST api/CaptchaInfo/UpdateAliSetting
更新人机验证设定
Request Information
URI Parameters
None.
Body Parameters
AliCaptchaSettingDtoName | Description | Type | Additional information |
---|---|---|---|
CaptchaAppKey |
AppKey |
string |
None. |
Scene |
Scene |
string |
None. |
SceneMobile |
Scene mobile |
string |
None. |
CaptchaType |
人机验证类型 |
AliCaptchaType |
None. |
UseCaptcha |
是否启用 |
boolean |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<AliCaptchaSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Captcha.Admin"> <CaptchaAppKey>sample string 1</CaptchaAppKey> <CaptchaType>All</CaptchaType> <Scene>sample string 2</Scene> <SceneMobile>sample string 3</SceneMobile> <UseCaptcha>true</UseCaptcha> </AliCaptchaSettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
更新人机验证设定
booleanResponse 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>