|
@@ -53,7 +53,7 @@ class KeywordsLogic extends BaseLogic |
|
@@ -53,7 +53,7 @@ class KeywordsLogic extends BaseLogic |
|
53
|
* @time :2023/7/22 16:46
|
53
|
* @time :2023/7/22 16:46
|
|
54
|
*/
|
54
|
*/
|
|
55
|
public function searchRouteMap($map,&$data){
|
55
|
public function searchRouteMap($map,&$data){
|
|
56
|
- $keyList = $this->routeMapModel->list($map,'created_at');
|
56
|
+ $keyList = $this->routeMapModel->list(['route'=>$map['search']],'created_at');
|
|
57
|
foreach ($keyList as $v){
|
57
|
foreach ($keyList as $v){
|
|
58
|
$data[] = $v['project_id'];
|
58
|
$data[] = $v['project_id'];
|
|
59
|
}
|
59
|
}
|
|
@@ -68,7 +68,7 @@ class KeywordsLogic extends BaseLogic |
|
@@ -68,7 +68,7 @@ class KeywordsLogic extends BaseLogic |
|
68
|
* @time :2023/7/22 16:52
|
68
|
* @time :2023/7/22 16:52
|
|
69
|
*/
|
69
|
*/
|
|
70
|
public function searchProductKeyword($map,&$data){
|
70
|
public function searchProductKeyword($map,&$data){
|
|
71
|
- $keyList = $this->productKeywordModel->list($map);
|
71
|
+ $keyList = $this->productKeywordModel->list(['title'=>$map['search']]);
|
|
72
|
foreach ($keyList as $v){
|
72
|
foreach ($keyList as $v){
|
|
73
|
$data[] = $v['project_id'];
|
73
|
$data[] = $v['project_id'];
|
|
74
|
}
|
74
|
}
|