新增打包脚本,新增商品基础逻辑

This commit is contained in:
yan.y
2024-05-07 23:30:22 +08:00
parent 3e9263324b
commit 6d9923b4f2
4 changed files with 31 additions and 13 deletions
+1
View File
@@ -17,6 +17,7 @@ type User struct {
UserType int `json:"userType"` //用户类型 0微信 1手机号
Mobile string `json:"mobile"` //手机号
Role int `json:"role"` //用户角色 0普通用户 1护理人员
Discount int `json:"discount"` //折扣
CreateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP;not null" json:"createTime"` //创建时间
}