|
|
|
@ -75,7 +75,7 @@ class IndexController extends HomeController
|
|
|
|
|
|
|
|
|
|
$promote = M("promote", "tab_")->where(['id' => $result])->find();
|
|
|
|
|
$promoteService = new PromoteService();
|
|
|
|
|
if ($promoteService->isPresidentAccess($promote)) {
|
|
|
|
|
if (!$promoteService->isPresidentAccess($promote)) {
|
|
|
|
|
$this->ajaxReturn(array("status" => 0, "msg" => '请联系市场专员开通账号。'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -118,7 +118,7 @@ class IndexController extends HomeController
|
|
|
|
|
if ($result > 0) {
|
|
|
|
|
|
|
|
|
|
$promoteService = new PromoteService();
|
|
|
|
|
if ($promoteService->isPresidentAccess($promote)) {
|
|
|
|
|
if (!$promoteService->isPresidentAccess($promote)) {
|
|
|
|
|
$this->ajaxReturn(array("status" => 0, "msg" => '请联系市场专员开通账号。'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|