@ -36,6 +36,7 @@ class MarketEvent extends Controller
*/
public function getMarketGroupId($departmentId = null)
{
return [];
$departmentIds = $departmentId ? $departmentId : $this->MarketDepartmentId;
$res = M('department','sys_')->where("id in ({$departmentIds})")->getField("group_ids",true);
$sendData = '';