|
|
@@ -18,4 +18,11 @@ class Detail extends Controller
|
|
|
echo Dataoke::parse(file_get_contents($url));
|
|
|
}
|
|
|
|
|
|
+ protected function after()
|
|
|
+ {
|
|
|
+ $id = $this->getQuery()->intval("id");
|
|
|
+ $site_url = Site::getData('site_url') . "/product/" . $id . ".html";
|
|
|
+ $this->addSitemap($site_url);
|
|
|
+ }
|
|
|
+
|
|
|
}
|