|
|
@ -64,7 +64,7 @@ class VerificationController extends Controller |
|
|
]; |
|
|
]; |
|
|
$app = Factory::miniProgram($config); |
|
|
$app = Factory::miniProgram($config); |
|
|
|
|
|
|
|
|
$response = $app->app_code->getUnlimit($verify_code); |
|
|
|
|
|
|
|
|
$response = $app->app_code->getUnlimit($verify_code, ['path' => 'pages/index/index']); |
|
|
|
|
|
|
|
|
if ($response instanceof \EasyWeChat\Kernel\Http\StreamResponse) { |
|
|
if ($response instanceof \EasyWeChat\Kernel\Http\StreamResponse) { |
|
|
$filename = $response->saveAs(storage_path('app/public/verify_code'), $verify_code); |
|
|
$filename = $response->saveAs(storage_path('app/public/verify_code'), $verify_code); |
|
|
|