wujunqi
1/22/2018 - 6:35 AM

[getOuter_name] 获取对象的话题 #电影业务

[getOuter_name] 获取对象的话题 #电影业务

$out_obj = SingletonManager::$SINGLETON_POOL -> getInstance('Movie_OutterObjModel');
$filmid_oid = "1022:100120".$film_id;
 //判断text中是否包含电影主话题
$where = array(
 array("field" => "type", "condition" => 0),
 array("field" => "status", "condition" => 0),
 // array("field" => "level", "condition" => 1),//只取主打
 array("field" => "film_oid", "condition" => $filmid_oid)
);
$out_info = $out_obj->getList(-1, 0, "outer_name", $where, null, null, true);
$outer_names_tmp = array_column($out_info, "outer_name");
$outer_names = array();
foreach ($outer_names_tmp as $outer_name) {
 $outer_names[] = "#".$outer_name."#";
}