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