pay
This commit is contained in:
@@ -158,7 +158,7 @@ func GetMixPayDetail(orderID string) (details *MixPayDetail, err error) {
|
||||
sql += "SELECT order_id,balance_price,total_price,wx_price,status FROM mix_pay WHERE order_id = ?"
|
||||
sqlParams = append(sqlParams, orderID)
|
||||
}
|
||||
if err = GetRow(GetDB(), &info, sql, sqlParams); err != nil {
|
||||
if err = GetRow(GetDB(), &info, sql, sqlParams); err == nil {
|
||||
//return nil, err
|
||||
details = &MixPayDetail{
|
||||
OrderID: info[0].OrderID,
|
||||
|
||||
Reference in New Issue
Block a user