增加价格排序
This commit is contained in:
parent
9841a6989d
commit
2b5d5c4d99
|
@ -217,6 +217,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = ordersmodel.GetInstance().GetDb().Where("id = ?", orderDetail.Id).Update(ordersmodel.Orders{ExchangeTime: time.Now()})
|
_, err = ordersmodel.GetInstance().GetDb().Where("id = ?", orderDetail.Id).Update(ordersmodel.Orders{ExchangeTime: time.Now()})
|
||||||
|
order.ExchangeTime = time.Now()
|
||||||
utils.Log(nil, "更新订单err", orderDetail.Id, err)
|
utils.Log(nil, "更新订单err", orderDetail.Id, err)
|
||||||
var productDetail productsmodel.Products
|
var productDetail productsmodel.Products
|
||||||
has, err = productsmodel.GetInstance().GetDb().Where("id = ?", orderDetail.ProductId).Get(&productDetail)
|
has, err = productsmodel.GetInstance().GetDb().Where("id = ?", orderDetail.ProductId).Get(&productDetail)
|
||||||
|
|
Loading…
Reference in New Issue