This commit is contained in:
suyl
2021-07-23 14:23:35 +08:00
parent 5d6e5582aa
commit 22efda5d43

View File

@@ -68,6 +68,7 @@ func CreateOrder(tokenInfo *model.TokenInfo, orderType, origin, thingID, typeID
if payPrice, err = findOrderPayPriceMap[orderType](db, typeID); err != nil {
return "", err
}
globals.SugarLogger.Debugf("CreateOrder payPrice: %v", payPrice)
orderID = utils.Int64ToStr(putils.GenOrderNo())
payOrder := &model.PayOrder{
CreatedAt: &now,