master
jbrazz 5 years ago
parent ea4c861559
commit 52880f1a91

@ -151,8 +151,9 @@ class AjaxController extends ThinkController{
} }
} }
public function getPromotersByLevel($level=1) public function getPromotersByLevel()
{ {
$level = I('level', 1);
$this->ajaxReturn(['code'=>1, 'msg'=>'获取成功', 'data'=>(new PromoteModel)->getPromotersByLevel($level)]); $this->ajaxReturn(['code'=>1, 'msg'=>'获取成功', 'data'=>(new PromoteModel)->getPromotersByLevel($level)]);
} }

Loading…
Cancel
Save