GET api/DinningHall?u={u}&t={t}&d={d}
获取食堂列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID |
integer |
Required |
| t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
| d |
CategoryId=[,long] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取食堂列表
Collection of DinningHalls| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Describ | string |
None. |
|
| CategoryId | integer |
None. |
|
| CreateTime | date |
None. |
|
| Creator | integer |
None. |
|
| IsDisplay |
是否显示 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Describ": "sample string 3",
"CategoryId": 4,
"CreateTime": "2025-12-16T23:30:13.1958294+08:00",
"Creator": 6,
"IsDisplay": true
},
{
"Id": 1,
"Name": "sample string 2",
"Describ": "sample string 3",
"CategoryId": 4,
"CreateTime": "2025-12-16T23:30:13.1958294+08:00",
"Creator": 6,
"IsDisplay": true
}
]