GET api/Config/Get服务时间
获取服务时间
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ProductCategoryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Parent |
上级ID,第1级为:-1 |
integer |
None. |
| CategoryName |
名称 |
string |
None. |
| Images |
图标 |
string |
None. |
| OrderBy |
排序,降序 |
integer |
None. |
| Mark | string |
None. |
|
| Rule |
价格规则 |
Collection of CalculatorPriceDTO |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Parent": 2,
"CategoryName": "sample string 3",
"Images": "sample string 4",
"OrderBy": 5,
"Mark": "sample string 6",
"Rule": [
{
"id": 1,
"categoryID": 2,
"parCategoryID": 3,
"unit": "sample string 4",
"categoryName": "sample string 5",
"categoryImg": "sample string 6",
"price": 7.0,
"score": 8.0
},
{
"id": 1,
"categoryID": 2,
"parCategoryID": 3,
"unit": "sample string 4",
"categoryName": "sample string 5",
"categoryImg": "sample string 6",
"price": 7.0,
"score": 8.0
}
]
},
{
"ID": 1,
"Parent": 2,
"CategoryName": "sample string 3",
"Images": "sample string 4",
"OrderBy": 5,
"Mark": "sample string 6",
"Rule": [
{
"id": 1,
"categoryID": 2,
"parCategoryID": 3,
"unit": "sample string 4",
"categoryName": "sample string 5",
"categoryImg": "sample string 6",
"price": 7.0,
"score": 8.0
},
{
"id": 1,
"categoryID": 2,
"parCategoryID": 3,
"unit": "sample string 4",
"categoryName": "sample string 5",
"categoryImg": "sample string 6",
"price": 7.0,
"score": 8.0
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfProductCategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models.DTO">
<ProductCategoryDTO>
<CategoryName>sample string 3</CategoryName>
<ID>1</ID>
<Images>sample string 4</Images>
<Mark>sample string 6</Mark>
<OrderBy>5</OrderBy>
<Parent>2</Parent>
<Rule>
<CalculatorPriceDTO>
<categoryID>2</categoryID>
<categoryImg>sample string 6</categoryImg>
<categoryName>sample string 5</categoryName>
<id>1</id>
<parCategoryID>3</parCategoryID>
<price>7</price>
<score>8</score>
<unit>sample string 4</unit>
</CalculatorPriceDTO>
<CalculatorPriceDTO>
<categoryID>2</categoryID>
<categoryImg>sample string 6</categoryImg>
<categoryName>sample string 5</categoryName>
<id>1</id>
<parCategoryID>3</parCategoryID>
<price>7</price>
<score>8</score>
<unit>sample string 4</unit>
</CalculatorPriceDTO>
</Rule>
</ProductCategoryDTO>
<ProductCategoryDTO>
<CategoryName>sample string 3</CategoryName>
<ID>1</ID>
<Images>sample string 4</Images>
<Mark>sample string 6</Mark>
<OrderBy>5</OrderBy>
<Parent>2</Parent>
<Rule>
<CalculatorPriceDTO>
<categoryID>2</categoryID>
<categoryImg>sample string 6</categoryImg>
<categoryName>sample string 5</categoryName>
<id>1</id>
<parCategoryID>3</parCategoryID>
<price>7</price>
<score>8</score>
<unit>sample string 4</unit>
</CalculatorPriceDTO>
<CalculatorPriceDTO>
<categoryID>2</categoryID>
<categoryImg>sample string 6</categoryImg>
<categoryName>sample string 5</categoryName>
<id>1</id>
<parCategoryID>3</parCategoryID>
<price>7</price>
<score>8</score>
<unit>sample string 4</unit>
</CalculatorPriceDTO>
</Rule>
</ProductCategoryDTO>
</ArrayOfProductCategoryDTO>