Documentation
¶
Index ¶
- Variables
- func AddCheckinByID(id int32) error
- func AddLongLeaveByQQ(qq int64, reason string, weekday int, single int) error
- func AddTempLeaveByQQ(qq int64, reason string, leaveDay time.Time) error
- func CheckQQ(qq int64) bool
- func InitDB(source string) error
- func IsTodayLongLeaveByID(id int32) (uint, error)
- func IsTodayTempLeaveByID(id int32) (uint, error)
- type Checkin
- type Leave
- type LongLeave
- type Student
- type TempLeave
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRepeat = errors.New("重复打卡")
View Source
var TermBegin = time.Date(2021, 9, 13, 0, 0, 0, 0, time.Now().Location())
Functions ¶
func AddCheckinByID ¶
func AddLongLeaveByQQ ¶
func IsTodayLongLeaveByID ¶
func IsTodayTempLeaveByID ¶
Types ¶
type LongLeave ¶
type Student ¶
func QueryShouldArrive ¶
Click to show internal directories.
Click to hide internal directories.