|
@@ -33,8 +33,10 @@ class WechatPlanRecord extends Model
|
|
|
if (isset($where['uid']) && $where['uid'] > 0) $xwhere['uid'] = $where['uid'];
|
|
|
if (isset($where['cid']) && $where['cid'] > 0) $xwhere['cid'] = $where['cid'];
|
|
|
$data = $model->where($xwhere)->where('is_signing',0)->order($order)->field('id')->select();
|
|
|
+ var_dump($data);
|
|
|
$plan=new WechatPlan();
|
|
|
$data2=$plan->where('id','in',$data)->select();
|
|
|
+ var_dump($data2);die();
|
|
|
|
|
|
return $data2;
|
|
|
}
|