yuleduiPay/repo/pay_order.go

16 lines
246 B
Go
Raw Normal View History

2024-11-05 08:32:10 +08:00
package repo
import (
"yuleduiPay/service/po"
"github.com/gogf/gf/v2/frame/g"
)
type PayOrder struct {
}
func (t *PayOrder) CreatePayOrder(payOrder *po.PayOrder) error {
_, err := g.Model("pay_order").Data(payOrder).Insert()
return err
}