Market.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. namespace app\master\controller;
  3. use app\master\logic\Market as Logic;
  4. class Market extends Base
  5. {
  6. //更新一个banner
  7. public function activeUpdate() {
  8. $function = __FUNCTION__;
  9. return json($this->logic->$function());
  10. }
  11. public function activeGetDetail() {
  12. $function = __FUNCTION__;
  13. return json($this->logic->$function());
  14. }
  15. public function activeGetList() {
  16. $function = __FUNCTION__;
  17. return json($this->logic->$function());
  18. }
  19. public function activeActionOnlineApp() {
  20. $function = __FUNCTION__;
  21. return json($this->logic->$function());
  22. }
  23. public function activeActionOfflineApp() {
  24. $function = __FUNCTION__;
  25. return json($this->logic->$function());
  26. }
  27. public function activeActionOnlinePc() {
  28. $function = __FUNCTION__;
  29. return json($this->logic->$function());
  30. }
  31. public function activeActionOfflinePc() {
  32. $function = __FUNCTION__;
  33. return json($this->logic->$function());
  34. }
  35. public function activeActionDelete() {
  36. $function = __FUNCTION__;
  37. return json($this->logic->$function());
  38. }
  39. public function hongbaoGetTypeList() {
  40. $function = __FUNCTION__;
  41. return json($this->logic->$function());
  42. }
  43. public function hongbaoUpdate() {
  44. $function = __FUNCTION__;
  45. return json($this->logic->$function());
  46. }
  47. public function hongbaoGetList() {
  48. $function = __FUNCTION__;
  49. return json($this->logic->$function());
  50. }
  51. public function hongbaoGetDetail() {
  52. $function = __FUNCTION__;
  53. return json($this->logic->$function());
  54. }
  55. public function hongbaoActionOnline() {
  56. $function = __FUNCTION__;
  57. return json($this->logic->$function());
  58. }
  59. public function hongbaoActionOffline() {
  60. $function = __FUNCTION__;
  61. return json($this->logic->$function());
  62. }
  63. public function hongbaoPlanGetTypeList() {
  64. $function = __FUNCTION__;
  65. return json($this->logic->$function());
  66. }
  67. public function hongbaoPlanUpdate() {
  68. $function = __FUNCTION__;
  69. return json($this->logic->$function());
  70. }
  71. public function hongbaoPlanGetDetail() {
  72. $function = __FUNCTION__;
  73. return json($this->logic->$function());
  74. }
  75. public function hongbaoPlanGetList() {
  76. $function = __FUNCTION__;
  77. return json($this->logic->$function());
  78. }
  79. public function hongbaoPlanActionDelete() {
  80. $function = __FUNCTION__;
  81. return json($this->logic->$function());
  82. }
  83. public function hongbaoPlanSendUser() {
  84. $function = __FUNCTION__;
  85. return json($this->logic->$function());
  86. }
  87. public function hongbaoPlanMade() {
  88. $function = __FUNCTION__;
  89. return json($this->logic->$function());
  90. }
  91. public $logic;
  92. public function __initialize() {
  93. $this->logic = new Logic($this->request);
  94. }
  95. }