aa
This commit is contained in:
@@ -68,6 +68,7 @@ func CreateOrder(tokenInfo *model.TokenInfo, orderType, origin, thingID, typeID
|
|||||||
if payPrice, err = findOrderPayPriceMap[orderType](db, typeID); err != nil {
|
if payPrice, err = findOrderPayPriceMap[orderType](db, typeID); err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
globals.SugarLogger.Debugf("CreateOrder payPrice: %v", payPrice)
|
||||||
orderID = utils.Int64ToStr(putils.GenOrderNo())
|
orderID = utils.Int64ToStr(putils.GenOrderNo())
|
||||||
payOrder := &model.PayOrder{
|
payOrder := &model.PayOrder{
|
||||||
CreatedAt: &now,
|
CreatedAt: &now,
|
||||||
|
|||||||
Reference in New Issue
Block a user