feat(checker): checker
This commit is contained in:
@@ -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"` // 提前多少秒提醒
|
||||
}
|
||||
|
||||
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user