Active.php 363 B

123456789101112131415161718
  1. <?php
  2. namespace app\mobile\controller;
  3. use app\mobile\logic\Active as Logic;
  4. use think\Log;
  5. class Active extends Base
  6. {
  7. public function getActiveList() {
  8. $function = __FUNCTION__;
  9. return json($this->logic->$function());
  10. }
  11. public $logic;
  12. public function __initialize() {
  13. $this->logic = new Logic($this->request);
  14. }
  15. }