fusenapi/model/gmodel/fs_feishu_webhook_log_logic.go
laodaming d42437d63b fix
2023-11-07 18:29:13 +08:00

10 lines
257 B
Go

package gmodel
import "context"
// TODO: 使用model的属性做你想做的
func (w *FsFeishuWebhookLogModel) Create(ctx context.Context, data *FsFeishuWebhookLog) error {
return w.db.WithContext(ctx).Model(&FsFeishuWebhookLog{}).Create(&data).Error
}