format🥚 :调整主键key和自增长tag
This commit is contained in:
1 parent
561566f172
commit
f22f654c91
17 files changed
+21
-21
No files matched your search
@@ -39,7 +39,7 @@ type LoginM struct {
|
||||
}
|
||||
|
||||
type SysUserId struct {
|
||||
UserId int `gorm:"primary_key;AUTO_INCREMENT" json:"userId"` // 编码
|
||||
UserId int `gorm:"primaryKey;autoIncrement" json:"userId"` // 编码
|
||||
}
|
||||
|
||||
type SysUserB struct {
|
||||
|
||||
Reference in new issue
Block a user