Browse Source

feat():授权

geek 4 years ago
parent
commit
d5a5a02f6b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/index/controller/Index.php

+ 1 - 0
application/index/controller/Index.php

@@ -20,6 +20,7 @@ class Index {
         }
         //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等
         $key = md5($visitorId.CommonService::getSetData()['channel_auth_code']);
+        var_dump($key);
         if(strpos($notifyUrl,'?') !== false){//url参数处理,将key加到url参数中
             $returnUrl = $notifyUrl."&key=".$key."&expire=3600";
         }else{