feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import lunarUtils from './src/utils/lunarUtils'
|
||||
|
||||
const testDates = [
|
||||
{ year: 2026, month: 1, day: 18 },
|
||||
{ year: 2026, month: 1, day: 19 },
|
||||
{ year: 2026, month: 1, day: 20 },
|
||||
{ year: 2026, month: 1, day: 21 },
|
||||
{ year: 2026, month: 1, day: 22 }
|
||||
]
|
||||
|
||||
testDates.forEach(date => {
|
||||
const lunarDate = lunarUtils.solarToLunar(date.year, date.month, date.day)
|
||||
console.log(`${date.year}-${date.month}-${date.day} => ${lunarDate.yearStr} ${lunarDate.monthStr}${lunarDate.dayStr}`)
|
||||
})
|
||||
Reference in New Issue
Block a user