view_suffix = config('view.view_suffix'); } public function index() { $param = $this->request->param(); $id = $param["id"] ?? ""; $lang = $param["lang"] ?? ""; $model = $param["model"] ?? ""; $sfeilds = ["lang" => $lang, "model" => $model]; $pv = (new TagBase())->getSearch($this->request, 1); if (sizeof($pv) > 0) { $sfeilds["keyword"] = implode(",", $pv); } View::assign("search", $param); $templet = $this->request->param("templet") ?? ""; $templetName = "search"; if (!empty($templet)) { $templetName = $templet; } $template = $this->templateHtml . $templetName . "." . $this->view_suffix; $template = replaceSymbol(replaceSymbol($template)); $content = View::fetch($template); return access_stat_js($content, $this->domainNo); } }