|
@@ -101,7 +101,7 @@ class PledgeLogic
|
|
|
|
|
|
|
|
//修改状态
|
|
//修改状态
|
|
|
$detail =json_decode($rows->details, true);
|
|
$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->status = $model::Remove;
|
|
|
$rows->last_time = $time;
|
|
$rows->last_time = $time;
|