|
|
|
@ -1944,7 +1944,7 @@ class QueryController extends BaseController
|
|
|
|
|
|
|
|
|
|
public function getSubPromotes()
|
|
|
|
|
{
|
|
|
|
|
$promoteId = I('promote_id', 0);
|
|
|
|
|
$promoteId = I('promote_id', 0) ?: -1;
|
|
|
|
|
$promotes = M('promote', 'tab_')->field(['id', 'account', 'real_name'])->where(['parent_id' => $promoteId])->select();
|
|
|
|
|
$this->ajaxReturn([
|
|
|
|
|
'status' => 1,
|
|
|
|
|