modified 新增设置用户ID的方法
This commit is contained in:
parent
e384b90083
commit
66e1a26776
|
@ -57,18 +57,6 @@ class BaseClient {
|
|||
$this->accessToken = $accessToken ?? $this->app['access_token'];
|
||||
}
|
||||
|
||||
/**
|
||||
* 单独设置openid
|
||||
* @param string $openid
|
||||
* @return $this
|
||||
* @author zhaoxiang <zhaoxiang051405@gmail.com>
|
||||
*/
|
||||
public function setOpenid(string $openid): BaseClient {
|
||||
$this->app['config']['openid'] = $openid;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $url
|
||||
* @param array $query
|
||||
|
|
Loading…
Reference in New Issue