System.php 746 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace app\mobile\controller;
  3. use app\mobile\logic\System as Logic;
  4. use think\Log;
  5. class System extends Base
  6. {
  7. public function getBankList() {
  8. $function = __FUNCTION__;
  9. return json($this->logic->$function());
  10. }
  11. public function getConfig() {
  12. $function = __FUNCTION__;
  13. return json($this->logic->$function());
  14. }
  15. public function getUpgradeInfo() {
  16. $function = __FUNCTION__;
  17. return json($this->logic->$function());
  18. }
  19. public function getUpgradeInfoForIOS() {
  20. $function = __FUNCTION__;
  21. return json($this->logic->$function());
  22. }
  23. public $logic;
  24. public function __initialize() {
  25. $this->logic = new Logic($this->request);
  26. }
  27. }