wupengfei 2 years ago
parent
commit
77f22d0f20
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/WeChatPort.php

+ 1 - 0
application/api/controller/WeChatPort.php

@@ -14,6 +14,7 @@ class WeChatPort extends Controller
     // 获取微信小程序AccessToken
     public static function getAccessToken()
     {
+        var_dump(config('mini_program')['app_id'],config('mini_program')['secret']);
         $res = http_curl('https://api.weixin.qq.com/cgi-bin/token?appid='.config('mini_program')['app_id'].'&secret='.config('mini_program')['secret'].'&grant_type=client_credential');
         return $res;
     }