PUT api/Setting/PutShowControl

修改后台控制显示

Request Information

URI Parameters

None.

Body Parameters

GetShowControlModel
NameDescriptionTypeAdditional information
showCommon

是否显示常看书柜设置(1 显示 0 不显示)

string

None.

showNew

是否显示新上架书柜设置(1 显示 0 不显示)

string

None.

showOil

是否显示油画屏设置(1 显示 0 不显示)

string

None.

showWind

是否显示风向标设置(1 显示 0 不显示)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "showCommon": "sample string 1",
  "showNew": "sample string 2",
  "showOil": "sample string 3",
  "showWind": "sample string 4"
}

text/html

Sample:
{"showCommon":"sample string 1","showNew":"sample string 2","showOil":"sample string 3","showWind":"sample string 4"}

application/xml, text/xml

Sample:
<GetShowControlModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.Models">
  <showCommon>sample string 1</showCommon>
  <showNew>sample string 2</showNew>
  <showOil>sample string 3</showOil>
  <showWind>sample string 4</showWind>
</GetShowControlModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

true/false/error

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.