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 }