增加价格排序

This commit is contained in:
qiyunfanbo126.com 2024-08-05 16:21:29 +08:00
parent 68b10ddadd
commit 3b37b08e8b
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN
}
client := market.NewMarketClient(config.GetConf().OpenApiMarketConfig)
send, err := client.MarketSend(orderDetail.OrderNo, strconv.Itoa(orderDetail.VoucherId), "", "2")
send, err := client.MarketSend(orderDetail.OrderNo, orderDetail.VoucherId, "", "2")
utils.Log(nil, "OrderNotify-MarketSend", send, err)
if err != nil {
_, err = ordersmodel.GetInstance().GetDb().Where("id = ?", orderDetail.Id).Update(ordersmodel.Orders{State: common.ORDER_STATUS_FAIL})