|
|
|
@ -623,7 +623,7 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
|
|
|
|
|
|
$promoteCompanyService = new PromoteCompanyService();
|
|
|
|
|
|
|
|
|
|
$oldData = M('promote_company', 'tab_')->field(['id', 'company_belong'])->where(['id' => $save['company_id']])->find();
|
|
|
|
|
$oldData = M('promote_company', 'tab_')->field(['id', 'company_belong'])->where(['id' => $save['id']])->find();
|
|
|
|
|
$isNewDeposit = false;
|
|
|
|
|
if (!in_array($oldData['company_belong'], [1, 2]) && in_array($save['company_belong'], [1, 2])) {
|
|
|
|
|
$isNewDeposit = true;
|
|
|
|
|