Ext.php 354 B

123456789101112131415161718
  1. <?php
  2. namespace app\mobile\controller;
  3. use app\mobile\logic\Ext as Logic;
  4. use think\Log;
  5. class Ext extends Base
  6. {
  7. public function getLoginAd() {
  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. }