fixorder
This commit is contained in:
parent
964b9a42a9
commit
408302894a
|
@ -118,7 +118,7 @@ func (m *ordersModel) Search(
|
|||
args = append(args, merchant_id)
|
||||
}
|
||||
if product_id != 0 {
|
||||
sql += " and merchant_id = ?"
|
||||
sql += " and product_id = ?"
|
||||
args = append(args, product_id)
|
||||
}
|
||||
if out_trade_no != "" {
|
||||
|
|
Loading…
Reference in New Issue