作者 lyh

gx

@@ -32,9 +32,9 @@ class Category extends Base @@ -32,9 +32,9 @@ class Category extends Base
32 32
33 protected $appends = ['route']; 33 protected $appends = ['route'];
34 34
35 - public function getRouteAttribute(){  
36 - return RouteMap::getRoute(RouteMap::SOURCE_PRODUCT_CATE, $this->id, $this->project_id);  
37 - } 35 +// public function getRouteAttribute(){
  36 +// return RouteMap::getRoute(RouteMap::SOURCE_PRODUCT_CATE, $this->id, $this->project_id);
  37 +// }
38 38
39 39
40 /** 40 /**
@@ -17,7 +17,7 @@ class Keyword extends Base @@ -17,7 +17,7 @@ class Keyword extends Base
17 17
18 //连接数据库 18 //连接数据库
19 protected $connection = 'custom_mysql'; 19 protected $connection = 'custom_mysql';
20 - public function getRouteAttribute(){  
21 - return RouteMap::getRoute(RouteMap::SOURCE_PRODUCT_KEYWORD, $this->id, $this->project_id);  
22 - } 20 +// public function getRouteAttribute(){
  21 +// return RouteMap::getRoute(RouteMap::SOURCE_PRODUCT_KEYWORD, $this->id, $this->project_id);
  22 +// }
23 } 23 }