Browse Source

添加质抵押订单

afa 6 months ago
parent
commit
16aa2df61c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/logic/PledgeLogic.php

+ 1 - 1
application/api/logic/PledgeLogic.php

@@ -59,7 +59,7 @@ class PledgeLogic
         (new LedgerWalletModel())->changeWalletAccount($user_id, $pay_type, -$price, $action, 0);
   
         //修改状态
-        return $model->whereIn('id', array_column($product, 'id'))->setField('status', $model::Freeze);
+        return $model->whereIn('order_no', $order_no)->setField('status', $model::Freeze);
     }