feat(checker): checker

This commit is contained in:
mei
2026-04-06 10:10:31 +08:00
parent 80e427d7c3
commit 189eab8a0a
13 changed files with 181 additions and 12 deletions
+1
View File
@@ -6,4 +6,5 @@ type Timer struct {
Name string `json:"name"`
SignDerationSeconds int64 `json:"sign_deration_seconds"`
LastSign int64 `json:"last_sign"`
RemindTimeSeconds int64 `json:"remind_time_seconds"` // 提前多少秒提醒
}
+5
View File
@@ -6,6 +6,11 @@ import (
"github.com/ssdomei232/goodBaby/handler/db"
)
type UserRegistryReuest struct {
Username string `json:"username"`
Password string `json:"password"`
}
type User struct {
ID uint `json:"id" gorm:"primaryKey"`
CreateAt int64 `json:"create_at"`