fusenapi/model/gmodel/fs_feishu_webhook_log_logic.go

10 lines
257 B
Go
Raw Normal View History

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
}