2023-11-07 08:26:29 +00:00
|
|
|
package gmodel
|
|
|
|
|
2023-11-07 10:29:13 +00:00
|
|
|
import "context"
|
|
|
|
|
2023-11-07 08:26:29 +00:00
|
|
|
// TODO: 使用model的属性做你想做的
|
|
|
|
|
2023-11-07 10:29:13 +00:00
|
|
|
func (w *FsFeishuWebhookLogModel) Create(ctx context.Context, data *FsFeishuWebhookLog) error {
|
|
|
|
return w.db.WithContext(ctx).Model(&FsFeishuWebhookLog{}).Create(&data).Error
|
2023-11-07 08:26:29 +00:00
|
|
|
}
|