Commit 7e786f11 authored by xiabin's avatar xiabin

添加会员的统计

parent 64bf8a11
...@@ -36,6 +36,7 @@ class SiteController extends Controller ...@@ -36,6 +36,7 @@ class SiteController extends Controller
const REDIS_SIGNUP_MSG_EXPIRE = 60;//second const REDIS_SIGNUP_MSG_EXPIRE = 60;//second
const SIGNUP_TOKEN = 'sign_token'; const SIGNUP_TOKEN = 'sign_token';
public $layout = 'site';
/** /**
* 默认action * 默认action
......
...@@ -7,7 +7,6 @@ use yii\helpers\Html; ...@@ -7,7 +7,6 @@ use yii\helpers\Html;
use frontend\assets\AppAsset; use frontend\assets\AppAsset;
AppAsset::register($this); AppAsset::register($this);
AppAsset::addCss($this, '@web/assets/css/login_css.css');
$baseUrl = \yii\helpers\Url::base(); $baseUrl = \yii\helpers\Url::base();
?> ?>
<?php $this->beginPage() ?> <?php $this->beginPage() ?>
......
<?php
use frontend\assets\AppAsset;
/* @var $this \yii\web\View */
/* @var $content string */
$this->beginPage();
$this->beginBody();
$this->beginContent('@app/views/layouts/main.php');
AppAsset::addCss($this, '@web/assets/css/login_css.css');
?>
<?= $content ?>
<?php
$this->endContent();
$this->endBody();
$this->endPage();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment