生成表结构,开始实现接口逻辑

This commit is contained in:
2025-05-29 16:22:48 +08:00
parent a048f45aa3
commit e8a8e36d61
21 changed files with 277 additions and 211 deletions

15
internal/model/admin.go Normal file
View File

@ -0,0 +1,15 @@
package model
type (
AdminLoginIn struct {
Username string
Password string
}
AdminInfoIn struct {
Id int
}
AdminInfoOut struct {
Token string
}
)

5
internal/model/common.go Normal file
View File

@ -0,0 +1,5 @@
package model
type LoginOut struct {
Token string
}