Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -196,7 +196,7 @@ class PrivateController extends BaseController | @@ -196,7 +196,7 @@ class PrivateController extends BaseController | ||
| 196 | return $this->error('未找到当前域名对应的项目!'); | 196 | return $this->error('未找到当前域名对应的项目!'); |
| 197 | } | 197 | } |
| 198 | ProjectServer::useProject($project->id); | 198 | ProjectServer::useProject($project->id); |
| 199 | - $feature_category = Category::whereIn('title', ['Featured','featured'])->pluck('id'); | 199 | + $feature_category = Category::whereIn('title', ['Featured','featured', 'Featured Products'])->pluck('id'); |
| 200 | $feature_product = CategoryRelated::whereIn('cate_id',$feature_category)->pluck('product_id')->unique()->toArray(); | 200 | $feature_product = CategoryRelated::whereIn('cate_id',$feature_category)->pluck('product_id')->unique()->toArray(); |
| 201 | $product_route = Product::where(['status' => Product::STATUS_ON])->whereNotIn('id', $feature_product)->pluck('route')->toArray(); | 201 | $product_route = Product::where(['status' => Product::STATUS_ON])->whereNotIn('id', $feature_product)->pluck('route')->toArray(); |
| 202 | return $this->success($product_route); | 202 | return $this->success($product_route); |
-
请 注册 或 登录 后发表评论