POST api/SysConfig/UpdateRegConfig

更新 注册访问

Request Information

URI Parameters

None.

Body Parameters

更新信息

RegConfigDto
NameDescriptionTypeAdditional information
DisallowBrowse

是否开放网站浏览

boolean

None.

DisallowBrowseDesc

关闭浏览提示内容

string

None.

close

是否关闭新用户注册

boolean

None.

closereson

关闭注册原因

string

None.

RegUserType

新用户注册方式

RegUserType

None.

IsPhoneRequired

系统强制会员绑定手机号

boolean

None.

heimingdan

IP限制类型

IpLimitType

None.

ipcontent

IP设置

string

None.

CaptchaProvider

图灵测试类型

CaptchaProviderType

None.

CaptchaType

人机验证类型

CaptchaType

None.

CaptchaAppKey

ali AppKey

string

None.

Scene

ali Scene

string

None.

SceneMobile

ali Scene mobile

string

None.

TxWebCaptchaAppId

tx web app id

integer

None.

TxWebCaptchaAppSec

tx web app secret

string

None.

TxMiniCaptchaAppId

tx mini app id

integer

None.

TxMiniCaptchaAppSec

tx mini app secret

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<RegConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Config">
  <CaptchaAppKey>sample string 7</CaptchaAppKey>
  <CaptchaProvider>None</CaptchaProvider>
  <CaptchaType>All</CaptchaType>
  <DisallowBrowse>true</DisallowBrowse>
  <DisallowBrowseDesc>sample string 2</DisallowBrowseDesc>
  <IsPhoneRequired>true</IsPhoneRequired>
  <RegUserType>Phone</RegUserType>
  <Scene>sample string 8</Scene>
  <SceneMobile>sample string 9</SceneMobile>
  <TxMiniCaptchaAppId>1</TxMiniCaptchaAppId>
  <TxMiniCaptchaAppSec>sample string 11</TxMiniCaptchaAppSec>
  <TxWebCaptchaAppId>1</TxWebCaptchaAppId>
  <TxWebCaptchaAppSec>sample string 10</TxWebCaptchaAppSec>
  <close>true</close>
  <closereson>sample string 4</closereson>
  <heimingdan>Black</heimingdan>
  <ipcontent>sample string 6</ipcontent>
</RegConfigDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

更新 注册访问

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />