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;