Skip to content

Commit

Permalink
生成的小程序 scheme 码
Browse files Browse the repository at this point in the history
  • Loading branch information
狂奔的螞蟻 committed Mar 9, 2022
1 parent f914408 commit 6e3be4a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/WxappClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,24 @@ public function getWxacodeunlimit2($path = '/', $accessToken = '') {
}


/**
* 生成的小程序 scheme 码
*
* @param array $jump_wxa
* @param string $accessToken
* @return mixed
*/
public function generatescheme(array $jump_wxa = [], string $accessToken = '')
{
return $this->http->post('wxa/generatescheme?access_token=' . $accessToken, [
'json' => [
'is_expire' => false,
'jump_wxa' => $jump_wxa,
]
]);
}


/**
* @param array $params
* @param string $accessToken
Expand Down
10 changes: 10 additions & 0 deletions src/WxappInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ public function getWxacodeunlimit(string $scene='', string $page='', string $acc
public function getWxacodeunlimit2($path = '/', $accessToken = '');


/**
* 生成的小程序 scheme 码
*
* @param array $jump_wxa
* @param string $accessToken
* @return mixed
*/
public function generatescheme(array $jump_wxa = [], string $accessToken = '');


/**
* 校验一张图片是否含有违法违规内容
*
Expand Down

0 comments on commit 6e3be4a

Please sign in to comment.