摸鱼办打工人日历

GET
https://apix.iqfk.top/api/moyu

接口描述

摸鱼办·打工人日历

请求参数

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: ''
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
  "code": 200,
  "data": {
    "date": {
      "gregorian": "2025-11-10",
      "weekday": "星期一",
      "dayOfWeek": 1,
      "lunar": {
        "year": 2025,
        "month": 9,
        "day": 21,
        "yearCN": "二零二五",
        "monthCN": "九月",
        "dayCN": "廿一",
        "isLeapMonth": false,
        "yearGanZhi": "乙巳",
        "monthGanZhi": "丙戌",
        "dayGanZhi": "癸未",
        "zodiac": "蛇"
      }
    },
    "today": {
      "isWeekend": false,
      "isHoliday": false,
      "isWorkday": true,
      "holidayName": null,
      "solarTerm": null,
      "lunarFestivals": [
        
      ]
    },
    "progress": {
      "week": {
        "passed": 1,
        "total": 7,
        "remaining": 6,
        "percentage": 14
      },
      "month": {
        "passed": 10,
        "total": 30,
        "remaining": 20,
        "percentage": 33
      },
      "year": {
        "passed": 314,
        "total": 365,
        "remaining": 51,
        "percentage": 86
      }
    },
    "currentHoliday": null,
    "nextHoliday": {
      "name": "元旦",
      "date": "2026-01-01",
      "until": 52,
      "duration": 3,
      "workdays": [
        
      ]
    },
    "nextWeekend": {
      "date": "2025-11-15",
      "weekday": "星期六",
      "daysUntil": 5
    },
    "countdown": {
      "toWeekEnd": 5,
      "toFriday": 4,
      "toMonthEnd": 20,
      "toYearEnd": 51
    },
    "moyuQuote": "工作再累,一天也是24小时;摸鱼再爽,一天也是24小时。既然都是24小时,为什么不选择爽呢?"
  }
}