|
|
|
@ -1428,7 +1428,7 @@ class PromoteController extends ThinkController
|
|
|
|
|
}
|
|
|
|
|
$data = array(
|
|
|
|
|
'promote_id' => $promote_id,
|
|
|
|
|
'company_belong' => $company_belong,
|
|
|
|
|
// 'company_belong' => $company_belong,
|
|
|
|
|
'company_relation' => $company_relation,
|
|
|
|
|
'can_view_recharge' => $can_view_recharge,
|
|
|
|
|
'company_type' => $company_type,
|
|
|
|
@ -1471,7 +1471,6 @@ class PromoteController extends ThinkController
|
|
|
|
|
}
|
|
|
|
|
$data = array(
|
|
|
|
|
'promote_id' => $promote_id,
|
|
|
|
|
// 'company_belong' => $company_belong,
|
|
|
|
|
'company_relation' => $company_relation,
|
|
|
|
|
'can_view_recharge' => $can_view_recharge,
|
|
|
|
|
'company_type' => $company_type,
|
|
|
|
@ -1521,7 +1520,6 @@ class PromoteController extends ThinkController
|
|
|
|
|
$promote_belongs = M('promote_belong', 'tab_')->where(['id' => ['in', I('ids')]])->select();
|
|
|
|
|
foreach ($promote_belongs as $promote_belong) {
|
|
|
|
|
$update = [
|
|
|
|
|
'company_belong' => $promote_belong['company_belong'],
|
|
|
|
|
'company_relation' => $promote_belong['company_relation'],
|
|
|
|
|
'can_view_recharge' => $promote_belong['can_view_recharge'],
|
|
|
|
|
'account_type' => $promote_belong['company_type']
|
|
|
|
|