| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
- /**
- * 分销
- * @author wesmiler
- */
- namespace app\weixin\controller;
- use app\weixin\model\Wechat;
- use cmf\controller\HomeBaseController;
- class MarketController extends MarketBaseController
- {
- /**
- * 分销中心
- * @return mixed
- */
- public function index(){
- 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 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();
- }
- }
- ?>
|