作者 tangxvhui

调试

package repository
import (
"time"
pgTransaction "github.com/linmadan/egglib-go/transaction/pg"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/infrastructure/pg/models"
... ... @@ -30,7 +28,7 @@ func (repo *LogSmsRepository) Save(param *domain.LogSms) error {
Status: string(param.Status),
From: param.From,
Index: param.Index,
ExecuteAt: time.Time{},
ExecuteAt: param.ExecuteAt,
}
tx := repo.transactionContext.PgTx
_, err := tx.Model(&m).Insert()
... ...