cmb
This commit is contained in:
parent
d6bfb1ff1d
commit
fcb3b028e0
|
|
@ -9,6 +9,7 @@ type OrderNotifyBo struct {
|
|||
OutRequestNo string
|
||||
Request string
|
||||
Responses string
|
||||
NotifyUrl string
|
||||
CreateTime *time.Time
|
||||
UpdateTime *time.Time
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ type OrderNotify struct {
|
|||
OutRequestNo string `gorm:"column:out_request_no;not null" json:"out_request_no"`
|
||||
Request string `gorm:"column:request;not null" json:"request"`
|
||||
Responses string `gorm:"column:responses" json:"responses"`
|
||||
NotifyUrl string `gorm:"column:notify_url;not null;comment:回调地址" json:"notify_url"`
|
||||
CreateTime *time.Time `gorm:"column:create_time;not null" json:"create_time"`
|
||||
UpdateTime *time.Time `gorm:"column:update_time" json:"update_time"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ func (p *OrderNotifyRepoImpl) Create(ctx context.Context, req *bo.OrderNotifyBo)
|
|||
OrderNo: req.OrderNo,
|
||||
OutRequestNo: req.OutRequestNo,
|
||||
Request: req.Request,
|
||||
NotifyUrl: req.NotifyUrl,
|
||||
CreateTime: &now,
|
||||
UpdateTime: &now,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue