parent
c3d5ed9774
commit
a30b92ea68
|
|
@ -208,6 +208,7 @@ func (o *OrderNotify) checkApp() {
|
|||
}
|
||||
|
||||
func (o *OrderNotify) checkOrder() {
|
||||
utils.Log(nil, "检查订单状态:%d", o.order.Id)
|
||||
cond := builder.NewCond()
|
||||
cond = cond.And(builder.Eq{"id": o.OrderId})
|
||||
o.order, o.Code = services.OrderFindOne(&ordersmodel.Orders{}, cond)
|
||||
|
|
|
|||
3
main.go
3
main.go
|
|
@ -4,6 +4,7 @@ import (
|
|||
"PaymentCenter/app/console"
|
||||
"PaymentCenter/app/http/routes"
|
||||
"PaymentCenter/app/jobs"
|
||||
"PaymentCenter/app/utils"
|
||||
"PaymentCenter/bootstrap"
|
||||
"PaymentCenter/config"
|
||||
_ "PaymentCenter/docs"
|
||||
|
|
@ -66,7 +67,7 @@ func main() {
|
|||
fmt.Printf("%s\ncommit %s\nbuilt on %s\n", server.Version, server.BuildCommit, server.BuildDate)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
utils.Log(nil, "正在启动服务...")
|
||||
handleCmd(opts)
|
||||
|
||||
err := startServer(opts)
|
||||
|
|
|
|||
Loading…
Reference in New Issue