12345678910111213141516171819 |
- package models
- import (
- "eta/eta_task/global"
- "eta/eta_task/utils"
- "time"
- )
- type EdbinfoSendMsgRecord struct {
- Id int `gorm:"column:id;primaryKey;autoIncrement"`
- UserId int
- TradeCode string
- CreateTime time.Time
- }
- func AddEdbinfoSendMsgRecord(item *EdbinfoSendMsgRecord) (err error) {
- err = global.DbMap[utils.DbNameReport].Create(item).Error
- return
- }
|