From 52880f1a9121d162ca1cd8e867087a147afd5bd5 Mon Sep 17 00:00:00 2001 From: jbrazz <2436953959@qq.com> Date: Thu, 7 Nov 2019 16:36:16 +0800 Subject: [PATCH] upt --- Application/Admin/Controller/AjaxController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/AjaxController.class.php b/Application/Admin/Controller/AjaxController.class.php index e5819d404..98755d565 100644 --- a/Application/Admin/Controller/AjaxController.class.php +++ b/Application/Admin/Controller/AjaxController.class.php @@ -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)]); }