This commit is contained in:
richboo111
2022-08-03 17:19:55 +08:00
parent dd9b616371
commit 3dd5cf5910

View File

@@ -204,7 +204,9 @@ func PayByBalance(ctx *jxcontext.Context, orderID string, isChoose, payType int,
//} //}
//更新订单状态 //更新订单状态
globals.SugarLogger.Debug("更新订单状态") globals.SugarLogger.Debug("更新订单状态")
if _, err := dao.SetOrderStatus(orderInfo.PayPrice, 1, 110, orderID); err != nil { temp_method := 1
temp_status := 110
if _, err := dao.SetOrderStatus(orderInfo.PayPrice, temp_method, temp_status, orderID); err != nil {
return nil, "更新order状态失败", err return nil, "更新order状态失败", err
} }
//if _, err := dao.UpdateEntityTx(txDB, order); err != nil { //if _, err := dao.UpdateEntityTx(txDB, order); err != nil {