推广员继承company_id

master
ELF 5 years ago
parent 2efbeaf13f
commit f1dc5f8920

@ -985,6 +985,9 @@ class PromoteController extends BaseController
} else { } else {
$parent = $loginPromote; $parent = $loginPromote;
} }
if ($parent) {
$params['company_id'] = $parent['company_id'];
}
if (C('PROMOTE_AUTO_AUDIT') == 1) { if (C('PROMOTE_AUTO_AUDIT') == 1) {
$params['status'] = 1; $params['status'] = 1;
} }

Loading…
Cancel
Save