提交
This commit is contained in:
1 parent
80138c6388
commit
693e8a678e
682 files changed
+211375
-5306
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
export type CnHolidayDay = {
|
||||
dayDate: string
|
||||
dayType: number
|
||||
isRestDay: boolean
|
||||
dayName?: string
|
||||
}
|
||||
|
||||
export function fetchCnHolidayRange(start: string, end: string) {
|
||||
return request.get<{ days: CnHolidayDay[] }>({
|
||||
url: '/cn-holiday/range',
|
||||
params: { start, end }
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user