修改bug

master
ELF 5 years ago
parent 3ea5875ecf
commit ed19727f91

@ -945,6 +945,7 @@ class PromoteService {
'create_time' => time(),
'company_belong' => $params['company_belong'] ?? 0,
'company_relation' => $params['company_relation'] ?? 0,
'settlement_type' => $params['settlement_type'] ?? 1,
'group_remark' => $params['group_remark'] ?? '',
];

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

Loading…
Cancel
Save