function __construct()
 {
     parent::__construct();
     $this->userid = sp_get_current_userid();
     $this->user = $this->users_model->where(array("id" => $this->userid))->find();
     $this->sign_num = $this->exchange->where(array("uid" => $this->userid, "memo" => "网站签到"))->count();
     $this->assign('signNum', $this->sign_num);
     $this->sign_point = D('Config')->val("pc_sign");
     $this->share_point = D('Config')->val('pc_share');
     $this->assign('user', $this->user);
     $this->assign("servePromise", $this->_getAd("servePromise"));
     $this->assign("home_head", $this->_getAd("banner_user"));
 }
 function __construct()
 {
     parent::__construct();
     $this->assign("home_head", $this->_getAd("banner_user"));
 }