pay
This commit is contained in:
@@ -3,6 +3,8 @@ package cms
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/financial"
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
|
||||
@@ -36,6 +38,7 @@ func CreateOrder(ctx *jxcontext.Context, orderType, price int) (order *model.Ord
|
||||
dao.Rollback(db)
|
||||
}
|
||||
dao.Commit(db)
|
||||
fmt.Println("order", utils.Format4Output(order, false))
|
||||
return order, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user