完成基本的创建使用功能

This commit is contained in:
2024-09-11 20:19:47 +08:00
parent 28a84ad4d7
commit 951572a1f5
22 changed files with 783 additions and 31 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package models
type Users struct {
Ip string `json:"ip"`
Ip string `gorm:"primarykey" json:"ip"`
Name string `json:"name"` // 昵称
Avatar string `json:"avatar"` // 头像
Cover string `json:"cover"` // 封面