diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index 36edd4cc4..6b6d5ead8 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -985,6 +985,9 @@ class PromoteController extends BaseController } else { $parent = $loginPromote; } + if (C('PROMOTE_AUTO_AUDIT') == 1) { + $params['status'] = 1; + } $promoteService = new PromoteService(); $result = $promoteService->checkAddPromote($params); if (!$result['status']) {