Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chinese holiday 获取中国法定节假日API 自动更新

License

boweileo/holiday

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

获取法定节假日信息

使用说明

  • 自动更新
  • 保存到数据库中,减少对网络依赖
  • 只有一个接口,调用简单
  • 个人项目,不保证永久维护
  • 开源免费

直接使用

接口地址

        http://api.haoshenqi.top/holiday

参数

    eg:
        http://api.haoshenqi.top/holiday?date=2019-05-01
        http://api.haoshenqi.top/holiday?date=2019-05
        http://api.haoshenqi.top/holiday?date=2019

响应

    eg:
        {
            "date": "2019-05-01",
            "year": 2019,
            "month": 5,
            "day": 1,
            "status": 3
        }

    status: 0普通工作日1周末双休日2需要补班的工作日3法定节假日

二次开发

注意事项

打赏

图片名称

图片名称

About

chinese holiday 获取中国法定节假日API 自动更新

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • TSQL 1.4%