fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 4m27s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 4m27s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
This commit is contained in:
23
Web/src/api/holiday.js
Normal file
23
Web/src/api/holiday.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import request from './request'
|
||||
|
||||
/**
|
||||
* 获取指定年月的节假日数据
|
||||
*/
|
||||
export function getMonthHolidays (year, month) {
|
||||
return request({
|
||||
url: '/holiday/GetMonthHolidays',
|
||||
method: 'get',
|
||||
params: { year, month }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 手动触发同步节假日数据
|
||||
*/
|
||||
export function syncHolidays (year) {
|
||||
return request({
|
||||
url: '/holiday/SyncHolidays',
|
||||
method: 'post',
|
||||
params: { year }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user