format🥚 :调整主键key和自增长tag

This commit is contained in:
zhangwenjian committed 2021-02-24 14:22:33 +08:00
1 parent 561566f172
commit f22f654c91
17 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -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 {