|
@@ -2825,8 +2825,10 @@ private function fetchArticles($catId, $website, $limit, $isImageArticle = false
|
|
|
case 6:
|
|
case 6:
|
|
|
// 企业
|
|
// 企业
|
|
|
// `status` int DEFAULT '1' COMMENT '审核状态状态:0:未审核;1:已审核;2:已拒绝;',
|
|
// `status` int DEFAULT '1' COMMENT '审核状态状态:0:未审核;1:已审核;2:已拒绝;',
|
|
|
- $article = Company::where('website_id', $data['website_id'])
|
|
|
|
|
- ->where('status', 1)
|
|
|
|
|
|
|
+ $article = Company::
|
|
|
|
|
+ // where('website_id', $data['website_id'])
|
|
|
|
|
+ // ->
|
|
|
|
|
+ where('status', 1)
|
|
|
->where('id', $data['id'])
|
|
->where('id', $data['id'])
|
|
|
->first(['cat_arr_id']);
|
|
->first(['cat_arr_id']);
|
|
|
if (empty($article)) {
|
|
if (empty($article)) {
|