瀏覽代碼

feat():授权

geek 4 年之前
父節點
當前提交
b4d4e7ad68
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/index/controller/Index.php

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

@@ -16,6 +16,7 @@ class Index {
         $notifyUrl = input('notify_url');
         if (empty(session('unionid'))){
             header("Location:".CommonService::getAuthUrl());
+            return;
         }
         //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等
         $key = md5($visitorId.CommonService::getAuthKey());