TODO: fix module name 无值问题

This commit is contained in:
2024-04-11 18:04:03 +08:00
parent 90743bfdc4
commit 809c0deaa2
4 changed files with 141 additions and 16 deletions

View File

@@ -9,3 +9,7 @@ type KillaraCustomerDeviceLogModel struct {
db *gorm.DB
TableName string // 表名
}
func (m *KillaraCustomerModel) InsertCustomerDeviceLog(logData *KillaraCustomerDeviceLog) error {
return m.db.Model(&KillaraCustomerDeviceLog{}).Create(logData).Error
}

View File

@@ -9,3 +9,7 @@ type KillaraCustomerDeviceModel struct {
db *gorm.DB
TableName string // 表名
}
func (m *KillaraCustomerModel) InsertCustomerDevice(deviceData *KillaraCustomerDevice) error {
return m.db.Model(&KillaraCustomerDevice{}).Create(deviceData).Error
}