wang hou sheng 8 months ago
parent cfc7bd405c
commit 371d91591f
  1. 3
      app/admin/controller/Wxserve.php

@ -28,7 +28,8 @@ class Wxserve extends Controller
!is_dir($savePath) && mkdir($savePath, 0755, true);
$savePath .= '/auth_qrcode.png';
QRcode::png($jumUrl, $savePath, 'L', 8, 1);
return $this->renderSuccess(['img_url' => $this->request->domain(true) . '/wxserve/auth_qrcode.png?time=' . time()]);
//return $this->renderSuccess(['img_url' => $this->request->domain(true) . '/wxserve/auth_qrcode.png?time=' . time()]);
return $this->renderSuccess(['url' => $jumUrl]);
}
/**

Loading…
Cancel
Save