package models import ( "github.com/beego/beego/v2/client/orm" "time" ) type CygxYanxuanSpecialRecord struct { CygxYanxuanSpecialRecordId int `orm:"column(cygx_yanxuan_special_record_id);pk"` UserId int // 用户ID Mobile string // 手机号 Email string // 邮箱 CompanyId int // 公司ID CompanyName string // 公司名称 RealName string // 用户实际名称 SellerName string // 所属销售 CreateTime time.Time // 创建时间 ModifyTime time.Time // 修改时间 RegisterPlatform int // 来源 1小程序,2:网页 YanxuanSpecialId int // cygx_yanxuan_special 表主键ID StopTime int // 停留时间 } func AddCygxYanxuanSpecialRecord(item *CygxYanxuanSpecialRecord) (lastId int64, err error) { o := orm.NewOrm() lastId, err = o.Insert(item) return } type AddCygxYanxuanSpecialRecordReq struct { SpecialId int `description:"专栏文章id"` }