推广公司

master
liuweiwen 5 years ago
parent ee2fc154a4
commit ee98ca39bb

@ -294,6 +294,9 @@ class PromoteController extends ThinkController
$ba = new \Admin\Model\BusinessAffairsModel(); $ba = new \Admin\Model\BusinessAffairsModel();
$ba->update_child($ba_id['ba_id'], $_REQUEST['ba_id'], $id); $ba->update_child($ba_id['ba_id'], $_REQUEST['ba_id'], $id);
} }
if (!empty(I('company_id'))) {
$data['company_id'] = I('company_id');
}
$res=M("promote", "tab_")->where(array("id"=>$_POST['id']))->save($data); $res=M("promote", "tab_")->where(array("id"=>$_POST['id']))->save($data);
if ($res !== false) { if ($res !== false) {

Loading…
Cancel
Save