master
ELF 4 years ago
parent 2c9092273f
commit 050eb98843

@ -281,10 +281,10 @@ class PromoteCompanyService
private function savePromotes($records, $company, $creator) private function savePromotes($records, $company, $creator)
{ {
$status = 0; $status = 1;
if (C('PROMOTE_AUTO_AUDIT') == 1) { /* if (C('PROMOTE_AUTO_AUDIT') == 1) {
$status = 1; $status = 1;
} } */
$promoteService = new PromoteService(); $promoteService = new PromoteService();
foreach ($records as $record) { foreach ($records as $record) {
$promoteService->addPromote([ $promoteService->addPromote([

Loading…
Cancel
Save