wang hou sheng 11 months ago
parent 077d6c60d9
commit c21fe84dd1
  1. 2
      app/common/library/wxserver/Server.php

@ -144,7 +144,7 @@ class Server
if ($access_token) {
$savePath = root_path() . "public/wxserve/experience";
!is_dir($savePath) && mkdir($savePath, 0755, true);
$savePath .= '/' . $appid . 'jpg'; //Client
$savePath .= '/' . $appid . '.jpg'; //Client
$url = 'https://api.weixin.qq.com/wxa/get_qrcode?access_token=' . $access_token;
$client = new \Qiniu\Http\Client();
$response = $client->get($url);

Loading…
Cancel
Save