浏览代码

添加质抵押订单

afa 6 月之前
父节点
当前提交
16aa2df61c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
     }