public function getGroupId($openId) { $result = $this->httpRaw(self::WECHAT_GET_GROUP_ID_URL . 'access_token=' . $this->getAccessToken(), ['openid' => $openId]); return isset($result['groupid']) ? $result['groupid'] : false; }