Explorar el Código

feat():授权

geek hace 4 años
padre
commit
5ead3866b4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/index/controller/Index.php

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

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