控制器LoginController.php <?php namespace backend\controllers; use Yii; use yii\debug\models\search\Log; use yii\web\Controller; use backend\models\Login; use frontend\models\ContactForm; use Illuminate\Http\Request; use yii\web\Session; use backend\con…