From ed19727f91e320aa995105a1ef904a221a189ea9 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 1 Apr 2020 16:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/PromoteService.class.php | 1 + Application/Home/Controller/PromoteController.class.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Application/Base/Service/PromoteService.class.php b/Application/Base/Service/PromoteService.class.php index b3680d471..b71a41dce 100644 --- a/Application/Base/Service/PromoteService.class.php +++ b/Application/Base/Service/PromoteService.class.php @@ -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'] ?? '', ]; diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index cdeb220d8..e0e924abe 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -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;