Bladeren bron

feat():授权

geek 4 jaren geleden
bovenliggende
commit
d6c976fec1
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      application/index/controller/User.php

+ 2 - 2
application/index/controller/User.php

@@ -22,10 +22,10 @@ class User extends BaseController {
         ];
         session('unionid', input('unionid'));
         if (session('unionid')){
-            var_dump(session('unionid'));
-            die();
             $visitorId = input('visitorId');
             $notifyUrl = input('notify_url');
+            var_dump(input());
+            die();
             //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等
             $key = md5($visitorId.CommonService::getSetData()['channel_auth_code']);
             if(strpos($notifyUrl,'?') !== false){//url参数处理,将key加到url参数中