feat: analysis user auth and ws

This commit is contained in:
zzw
2026-10-15 09:23:07 +08:00
parent 6fa185003d
commit a65b6d2803
102 changed files with 4966 additions and 786 deletions
@@ -0,0 +1,20 @@
package dao
import "lone-services/pkg/utils"
type Agreement struct {
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
TypeId int32 `gorm:"column:type_id" json:"type_id"`
Title string `gorm:"column:title" json:"title"`
Content string `gorm:"column:content" json:"content"`
Status int8 `gorm:"column:status" json:"status"`
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
UpdatedAt utils.CustomTime `gorm:"column:updated_at" json:"updated_at"`
}
type AgreementInfo struct {
Id int64 `json:"id"`
TypeId int32 `json:"type_id"`
Content string `json:"content"`
CreatedAt utils.CustomTime `json:"created_at"`
}