|
|
@ -20,7 +20,7 @@ class Wxwholesaler extends Controller |
|
|
|
public function qrcode(): Json |
|
|
|
public function qrcode(): Json |
|
|
|
{ |
|
|
|
{ |
|
|
|
$obj = new Wholesaler(); |
|
|
|
$obj = new Wholesaler(); |
|
|
|
$url = $this->request->domain(true) . '/api/wxserver/redirect'; |
|
|
|
$url = $this->request->domain(true) . '/api/wxwholesaler/redirect'; |
|
|
|
$jumUrl = $obj->jumpH5Url($url); |
|
|
|
$jumUrl = $obj->jumpH5Url($url); |
|
|
|
$savePath = root_path() . "public/wxserve"; |
|
|
|
$savePath = root_path() . "public/wxserve"; |
|
|
|
!is_dir($savePath) && mkdir($savePath, 0755, true); |
|
|
|
!is_dir($savePath) && mkdir($savePath, 0755, true); |
|
|
|