/** * 获取产品推荐的 orgid * @author wjh 20150422 * @return string * @throws Exception */ public static function getAdCompanyOrgid() { $company = OrganizationService::getCompany(BDataHelper::getCurrentOrgid()); if (BArrayHelper::array_value_exists($company->orgid, array(BDefind::ORG_MENSHI, BDefind::ORG_ZHONGLV))) { return $company->orgid; } else { return BDefind::ORG_GONGMIN; } }