|
|
|
@ -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']) {
|
|
|
|
|