checkToken(); if ($token['code'] != 0) exit($this->response($token)); if (!($this->app_module == 'shop' || $this->app_module == 'store')) exit($this->response($this->error([], 'NO_PERMISSION'))); $this->store_id = $this->user_info['site_id']; } }