刘忠健 лет назад: 2
Родитель
Сommit
84a0144f23
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/app/api/controller/WechatMpAuth.php

+ 1 - 1
api/app/api/controller/WechatMpAuth.php

@@ -45,7 +45,7 @@ class WechatMpAuth extends Base
         ];
         $this->autoValid($rules, $param);
         $callback = trim(urldecode2(input("callback")));//回调地址
-        $scope = input("scope", "snsapi_base");//snsapi_userinfo
+        $scope = input("scope", "snsapi_userinfo");//snsapi_userinfo   snsapi_base
         $remark = trim(urldecode2(input("remark", "")));//input("remark", "");//备注
         $method = input("method", "post");//回调方式
         $wechatcode = input("wechatcode");