|
|
@@ -23,19 +23,12 @@ class MainController extends PlatformController
|
|
|
|
|
|
public function actionLogin()
|
|
|
{
|
|
|
- if ($this->isLogin) {
|
|
|
- $this->redirect(['main/index']);
|
|
|
- Yii::$app->end();
|
|
|
- }
|
|
|
- return $this->renderPartial('login');
|
|
|
+ Yii::$app->end();
|
|
|
}
|
|
|
-
|
|
|
- /**
|
|
|
- * 重复登陆,记录登陆名
|
|
|
- */
|
|
|
+
|
|
|
public function actionRelogin()
|
|
|
{
|
|
|
- return $this->renderPartial('relogin');
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public function actionLogout()
|