checkToken(); if ($token['code'] < 0) return $this->response($token); $condition = [ ['site_id', '=', $this->site_id], ['upgrade_type', '>', 0], ['is_default', '=', 0] ]; $model = new AgentLevel(); $info = $model->getLevelList($condition, '*', 'level_num asc'); return $this->response($info); } }