for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Tester;
use EasyWeChat\Kernel\BaseClient;
/**
* Class Client.
* @author caikeal <[email protected]>
class Client extends BaseClient
{
* 绑定小程序体验者.
* @param string $wechatId
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
public function bind(string $wechatId)
return $this->httpPostJson('wxa/bind_tester', [
'wechatid' => $wechatId,
]);
}
* 解绑小程序体验者.
public function unbind(string $wechatId)
return $this->httpPostJson('wxa/unbind_tester', [
* 获取体验者列表.
public function list()
return $this->httpPostJson('wxa/memberauth', [
'action' => 'get_experiencer',