|
|
|
@ -2134,14 +2134,8 @@ class QueryController extends BaseController
|
|
|
|
|
|
|
|
|
|
public function getChildPromoteList()
|
|
|
|
|
{
|
|
|
|
|
$promoteId = I('post.promote_id', 0);
|
|
|
|
|
if ($promoteId == 0) {
|
|
|
|
|
$data['status'] = 0;
|
|
|
|
|
$data['msg'] = '数据异常';
|
|
|
|
|
|
|
|
|
|
$this->ajaxReturn($data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$promoteId = intval(I('post.promote_id', 0));
|
|
|
|
|
$promoteId = empty($promoteId) ? PID : $promoteId;
|
|
|
|
|
$promoteList = getAllPromoteListByType(3, false, $promoteId);
|
|
|
|
|
$data['status'] = 1;
|
|
|
|
|
$data['data'] = $promoteList;
|
|
|
|
|