作者 何书鹏

海报识别路径

@@ -607,7 +607,7 @@ class User extends Base @@ -607,7 +607,7 @@ class User extends Base
607 if(!file_exists($qrcode) || imagesx(imagecreatefromjpeg(ROOT_PATH.'public/'.$qrcode)) != 211){ 607 if(!file_exists($qrcode) || imagesx(imagecreatefromjpeg(ROOT_PATH.'public/'.$qrcode)) != 211){
608 $wechat = new Wechat('wxMiniProgram'); 608 $wechat = new Wechat('wxMiniProgram');
609 $response = $wechat->getApp()->app_code->getUnlimit($user['id'], [ 609 $response = $wechat->getApp()->app_code->getUnlimit($user['id'], [
610 - 'page' => 'pages/vip/vip', 610 + 'page' => 'pages/index/index',
611 'width' => 280, //最小宽度280 611 'width' => 280, //最小宽度280
612 ]); 612 ]);
613 if ($response instanceof \EasyWeChat\Kernel\Http\StreamResponse) { 613 if ($response instanceof \EasyWeChat\Kernel\Http\StreamResponse) {