This commit is contained in:
苏尹岚
2020-11-05 18:06:47 +08:00
parent c3b653a90a
commit c9a3febe47

View File

@@ -3,6 +3,8 @@ package cms
import ( import (
"fmt" "fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxstore/financial" "git.rosy.net.cn/jx-callback/business/jxstore/financial"
"git.rosy.net.cn/jx-callback/business/jxutils" "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.Rollback(db)
} }
dao.Commit(db) dao.Commit(db)
fmt.Println("order", utils.Format4Output(order, false))
return order, err return order, err
} }