...
|
...
|
@@ -31,7 +31,7 @@ class Index extends Api |
|
|
}
|
|
|
|
|
|
function createMiniProgramQRCode($accessToken, $path, $width = 430) {
|
|
|
$url = "https://api.weixin.qq.com/shop/funds/qrcode/get?access_token={$accessToken}";
|
|
|
$url = "https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token={$accessToken}";
|
|
|
|
|
|
$data = json_encode([
|
|
|
'path' => $path,
|
...
|
...
|
|