request = $request; $this->user = isset($request->user) ? $request->user : null; $this->app = isset($request->app) ? $request->app : []; $this->data = isset($request->data) ? $request->data : []; $this->platform = Config::get('platform.default_check_gateway'); $this->skin = Config::get('skin_channel'.'.app_skin_config'); if($this->data['osType'] == 1) { $this->skin = Config::get('skin_channel_'.$this->data['channel'].'.app_skin_config'); } //$this->_initialize(); } public function map() { $map['userID'] = $this->user['userID']; return $map; } public function h5RootUrl() { return Config::get('h5RootUrl'); } /*public function checkMember($memberID = '') { if($this->member['id'] != $memberID) { throw new AppException(-7778, '没有权限'); } }*/ }