123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace app\mobile\controller;
- use app\mobile\logic\System as Logic;
- use think\Log;
- class System extends Base
- {
- public function getBankList() {
- $function = __FUNCTION__;
- return json($this->logic->$function());
- }
- public function getConfig() {
- $function = __FUNCTION__;
- return json($this->logic->$function());
- }
- public function getUpgradeInfo() {
- $function = __FUNCTION__;
- return json($this->logic->$function());
- }
- public function getUpgradeInfoForIOS() {
- $function = __FUNCTION__;
- return json($this->logic->$function());
- }
- public $logic;
- public function __initialize() {
- $this->logic = new Logic($this->request);
- }
- }
|