修改bug

master
ELF 5 years ago
parent bfd8d2d6f4
commit 31723fbc0b

@ -985,6 +985,9 @@ class PromoteController extends BaseController
} else { } else {
$parent = $loginPromote; $parent = $loginPromote;
} }
if (C('PROMOTE_AUTO_AUDIT') == 1) {
$params['status'] = 1;
}
$promoteService = new PromoteService(); $promoteService = new PromoteService();
$result = $promoteService->checkAddPromote($params); $result = $promoteService->checkAddPromote($params);
if (!$result['status']) { if (!$result['status']) {

Loading…
Cancel
Save