Skip to content

Commit

Permalink
5.x第三方开放平台增加查询小程序版本信息接口 (#2673)
Browse files Browse the repository at this point in the history
* 5.x第三方开放平台增加查询小程序版本信息接口

* 5.x 第三方平台添加查询小程序版本信息 移除不正确位置代码

* 5.x 添加查询小程序版本信息接口

* 5.x 添加小程序版本信息接口 整理代码格式

* 5.x添加查询小程序版本接口 优化方法调用
  • Loading branch information
Choicelin committed Mar 29, 2023
1 parent 379de8a commit 45d2f15
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/MiniProgram/Base/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,17 @@ public function getPaidUnionid($openid, $options = [])
{
return $this->httpGet('wxa/getpaidunionid', compact('openid') + $options);
}

/**
* Get version info
*
* @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function getVersionInfo()
{
return $this->httpPostJson('wxa/getversioninfo');
}
}

0 comments on commit 45d2f15

Please sign in to comment.