WIN-2308041133\Administrator 1 year ago
parent
commit
86fe0034f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/admin/model/WechatPlanRecord.php

+ 1 - 1
application/admin/model/WechatPlanRecord.php

@@ -59,7 +59,7 @@ class WechatPlanRecord extends Model
         if (isset($where['id']) && $where['id'] > 0) $xwhere['id'] = $where['id'];
 //        if (isset($where['cid']) && $where['cid'] > 0) $xwhere['cid'] = $where['cid'];
 //        if (isset($where['category_id']) && $where['category_id'] > 0) $xwhere['category_id'] = $where['category_id'];
-        $data = $model->where($xwhere)->where('is_signing',0)->order($order)->select();
+        $data = $model->where($xwhere)->where('is_signing',0)->order($order)->select()->toArray();
         $count = $model->where($xwhere)->count();
         @file_put_contents("quanju.txt", json_encode($data)."-列表详情\r\n", 8);
         var_dump($data['order_name']);die();