POST api/DistributionConfig/UpdateAdminConfig

后台--更新配置

Request Information

URI Parameters

None.

Body Parameters

配置内容

mh163k_distribution_config
NameDescriptionTypeAdditional information
Id

自增id

integer

None.

HouseDistributionContent

新房分销赚取佣金

string

None.

IsBalanceOfLoupanDistribution

新房分销佣金是否计入余额,true表示计入

boolean

None.

IsBalanceOfHouseDistribution

二手房,租房,商铺分销佣金是否计入余额,true表示计入

boolean

None.

IsShareUsingUserTel

会员登录状态下分享楼盘时调用会员的手机号作为咨询电话

boolean

None.

HouseDistributionUserType

0表示所有会员,分类styleId=1001

integer

None.

IsCustomDev

是否定制需求

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<mh163k_distribution_config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.HouseDistribution.Service.Model">
  <HouseDistributionContent>sample string 2</HouseDistributionContent>
  <HouseDistributionUserType>6</HouseDistributionUserType>
  <Id>1</Id>
  <IsBalanceOfHouseDistribution>true</IsBalanceOfHouseDistribution>
  <IsBalanceOfLoupanDistribution>true</IsBalanceOfLoupanDistribution>
  <IsCustomDev>true</IsCustomDev>
  <IsShareUsingUserTel>true</IsShareUsingUserTel>
</mh163k_distribution_config>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'mh163k_distribution_config'.

Response Information

Resource Description

后台--更新配置

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

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/" />