|
|
|
@ -1225,6 +1225,9 @@ class PromoteController extends ThinkController
|
|
|
|
|
public function belong_add($promote_id=null, $company_belong = null, $company_relation = null, $remark = null)
|
|
|
|
|
{
|
|
|
|
|
if (IS_POST) {
|
|
|
|
|
if (empty($promote_id)) {
|
|
|
|
|
$this->error('请选择会长');
|
|
|
|
|
}
|
|
|
|
|
$data = array(
|
|
|
|
|
'promote_id' => $promote_id,
|
|
|
|
|
'company_belong' => $company_belong,
|
|
|
|
@ -1258,6 +1261,9 @@ class PromoteController extends ThinkController
|
|
|
|
|
public function belong_edit($promote_id=null, $company_belong = null, $company_relation = null, $remark = null)
|
|
|
|
|
{
|
|
|
|
|
if (IS_POST) {
|
|
|
|
|
if (empty($promote_id)) {
|
|
|
|
|
$this->error('请选择会长');
|
|
|
|
|
}
|
|
|
|
|
$data = array(
|
|
|
|
|
'promote_id' => $promote_id,
|
|
|
|
|
'company_belong' => $company_belong,
|
|
|
|
|