menu 云析API铺 - 云析文档平台 公告 打赏
child_care
医药百科
keyboard_arrow_down
star_border

节假日

使用教程


请求地址 https://api.a20safe.com/api.php?api=38&key=你的KEY&date=日期

返回示例 {"code":0,"msg":"success","data":[{"date":"2021-10-01","status":"2"}]}

Example

返回参数

返回参数类型说明
code Int 状态码
msg String 返回说明
data[0].date String 日期
data[0].status String 状态(0:工作日 1:休息日 2:节假日 3:周六 4:周日 5:周一至周五)

						<br><br>
<table class="mdui-table"><thead><tr>
<th>返回参数</th><th>类型</th><th>说明</th></tr></thead><tbody>
<tr><td><code>code</code></td>
<td>Int</td>
<td>状态码</tr>
<tr><td><code>msg</code></td>
<td>String</td>
<td>返回说明</tr>
<tr><td><code>data[0].date</code></td>
<td>String</td>
<td>日期</tr>
<tr><td><code>data[0].status</code></td>
<td>String</td>
<td>状态(0:工作日 1:休息日 2:节假日 3:周六 4:周日 5:周一至周五)</tr>
</tbody></table>
					

请求参数

请求参数必填类型说明
api String 接口id
key String 你的key
date String 日期(可为年份或具体日期或today 例:2022或2021-10-01或today