fetch(); } /** * 注册入口 * @return mixed */ public function reg(){ if($this->agentStatus == 1 && isset($_GET['sid'])){ session('invite_id', isset($_GET['sid'])? intval($_GET['sid']) : 0); //Wechat::redirectUrl(url('/weixin/market/index','','',true)); } return $this->fetch(); } /** * 分销用户注册 * @return mixed */ public function entry(){ if($this->agentStatus == 1){ session('invite_id', isset($_GET['sid'])? intval($_GET['sid']) : 0); Wechat::redirectUrl(url('/weixin/market/index','','',true)); } return $this->fetch(); } /** * 收益 * @return mixed */ public function income(){ return $this->fetch(); } /** * 收益排行榜 * @return mixed */ public function rank(){ return $this->fetch(); } /** * 资料 * @return mixed */ public function profile(){ return $this->fetch(); } /** * 我的团队 * @return mixed */ public function team(){ return $this->fetch(); } /** * 会员邀请 * @return mixed */ public function invite(){ return $this->fetch(); } /** * 团队成员邀请 * @return mixed */ public function teamInvite(){ return $this->fetch(); } } ?>