registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['wechatid' => $testid], true); } /** * 2、解除绑定小程序的体验者 * @param string $testid 微信号 * @return array * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function unbindTester($testid) { $url = 'https://api.weixin.qq.com/wxa/unbind_tester?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['wechatid' => $testid], true); } /** * 3. 获取体验者列表 * @return array * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ public function getTesterList() { $url = 'https://api.weixin.qq.com/wxa/memberauth?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['action' => 'get_experiencer'], true); } }