|
@@ -227,7 +227,7 @@ class Note extends Base
|
|
|
if($param['status']!==""){
|
|
|
$where[]=['status',"=",$param['status']];
|
|
|
}
|
|
|
- $list = \app\bug\model\WechatPush::where($where)->order("createTime desc")->paginate(["list_rows"=>$param['size'],"page"=>$param['page']]);
|
|
|
+ $list = \app\bug\model\WechatPush::with(['note'])->where($where)->order("createTime desc")->paginate(["list_rows"=>$param['size'],"page"=>$param['page']]);
|
|
|
return success("获取成功",['list'=>$list->items(),'count'=>$list->total()]);
|
|
|
}
|
|
|
}
|