Merge branch 'feature/promote_company_merge' of wmtx/platform into master

修改
master
万盟天下 4 years ago committed by Gogs
commit 19cd57c354

@ -281,12 +281,17 @@ class PromoteCompanyService
private function savePromotes($records, $company, $creator)
{
$status = 0;
if (C('PROMOTE_AUTO_AUDIT') == 1) {
$status = 1;
}
$promoteService = new PromoteService();
foreach ($records as $record) {
$promoteService->addPromote([
'account' => $record['account'],
'password' => $record['password'],
'real_name' => $record['real_name'],
'status' => $status,
'email' => $record['email'],
'mobile_phone' => $record['mobile_phone'],
'can_view_recharge' => $record['can_view_recharge'],

Loading…
Cancel
Save