master
elf 2 years ago
parent 024e217fe6
commit cc854b7f6a

@ -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 = '';

Loading…
Cancel
Save