System.php 624 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace app\mobile_v_2_1\controller;
  3. use app\mobile_v_2_1\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 $logic;
  20. public function __initialize() {
  21. $this->logic = new Logic($this->request);
  22. }
  23. }