瀏覽代碼

修改状态

afa 7 月之前
父節點
當前提交
0723c3d222
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/common/logic/PledgeLogic.php

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

@@ -101,7 +101,7 @@ class PledgeLogic
 
         //修改状态
         $detail =json_decode($rows->details, true);
-        $model->whereIn('order_no', array_column($detail, 'order_no'))->setField('status', $model::Paid);
+        Loader::model('ProductOrder')::whereIn('order_no', array_column($detail, 'order_no'))->setField('status', $model::Paid);
 
         $rows->status    = $model::Remove;
         $rows->last_time = $time;