MarketController.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. /**
  3. * 分销
  4. * @author wesmiler
  5. */
  6. namespace app\weixin\controller;
  7. use app\weixin\model\Wechat;
  8. use cmf\controller\HomeBaseController;
  9. class MarketController extends MarketBaseController
  10. {
  11. /**
  12. * 分销中心
  13. * @return mixed
  14. */
  15. public function index(){
  16. return $this->fetch();
  17. }
  18. /**
  19. * 分销用户注册
  20. * @return mixed
  21. */
  22. public function entry(){
  23. if($this->agentStatus == 1){
  24. //Wechat::redirectUrl(url('/weixin/market/index','','',true));
  25. }
  26. return $this->fetch();
  27. }
  28. /**
  29. * 收益
  30. * @return mixed
  31. */
  32. public function income(){
  33. return $this->fetch();
  34. }
  35. /**
  36. * 我的团队
  37. * @return mixed
  38. */
  39. public function team(){
  40. return $this->fetch();
  41. }
  42. /**
  43. * 会员邀请
  44. * @return mixed
  45. */
  46. public function invite(){
  47. return $this->fetch();
  48. }
  49. /**
  50. * 团队成员邀请
  51. * @return mixed
  52. */
  53. public function teamInvite(){
  54. return $this->fetch();
  55. }
  56. }
  57. ?>