moonsflyer hai 6 meses
pai
achega
558b99dd89
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/common/service/GiftCardQrCodeService.php

+ 1 - 0
app/common/service/GiftCardQrCodeService.php

@@ -31,6 +31,7 @@ class GiftCardQrCodeService
 
             $app = Factory::miniProgram($config);
             $accessToken = $app->access_token->getToken()['access_token'];
+            return $accessToken;
             $IMG = getQrCode($accessToken, $page.$scene, 'uploads/qrcode/', $cardPass);
 //            $result = $app->app_code->getUnlimited($page = 'pages/index/index', $width = 430);
 //            try {