This commit is contained in:
richboo111
2022-08-03 15:04:35 +08:00
parent 74212b0456
commit a243efcd74

View File

@@ -159,7 +159,7 @@ func GetMixPayDetail(orderID string) (details *model.MixPay, err error) {
sql += "SELECT * FROM mix_pay WHERE order_id = ?"
sqlParams = append(sqlParams, orderID)
}
err = GetRows(GetDB(), &info, sql, sqlParams)
err = GetRows(GetDB(), &info, sql, sqlParams...)
if err != nil {
globals.SugarLogger.Debug("er===========", err)
return nil, err