Files
slogan/styleagent/service/pay_notify_log_service.go
T

20 lines
503 B
Go

package service
import (
"context"
"slogan-agent/styleagent/dao"
"slogan-agent/styleagent/model/entity"
)
type payNotifyLogService struct{}
var PayNotifyLogService = new(payNotifyLogService)
// Insert 回调日志全量入库(审计)
func (s *payNotifyLogService) Insert(ctx context.Context, orderNo, body, sign, remoteIP, status string) error {
return dao.PayNotifyLog.Insert(ctx, &entity.PayNotifyLog{
OrderNo: orderNo, Body: body, Sign: sign, RemoteIp: remoteIP, Status: status,
})
}