作者 anyv
1 个管道 的构建 通过 耗费 0 秒

4

... ... @@ -9,6 +9,16 @@ use think\Db;
class MembersController extends WeChatBaseController{
public function _initialize(){
if(cmf_get_current_user_id()){
}else{
return $this->fetch(':index');
}
}
//显示会员页
public function index(){
... ...
... ... @@ -9,6 +9,17 @@ use think\Db;
class VoteController extends WeChatBaseController{
public function _initialize(){
if(cmf_get_current_user_id()){
}else{
return $this->fetch(':index');
}
}
//显示投票页
public function index(){
... ...