经皮湿水仪init and bind's all api

This commit is contained in:
2026-10-05 17:22:27 +08:00
parent 3d760eb6b9
commit d30b573833
52 changed files with 3092 additions and 250 deletions
@@ -3,6 +3,7 @@ package dao
type BindHistoryCreate struct {
Id int64 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"`
HostCode string `gorm:"column:host_code;type:varchar(128);comment:设备昵称;NOT NULL" json:"host_code"`
Type int32 `json:"type" gorm:"type"` // 类型。1为圆屏,2为卵型屏,3为皮肤分析仪,4为经皮湿水仪,5为AI化妆盒,6为软水机,7为制氧机
Status int32 `gorm:"column:status;type:tinyint(1);default:2;comment:1为绑定,2为解绑;NOT NULL" json:"status"`
UserId int64 `gorm:"column:user_id;type:int(11)" json:"user_id"`
}