作者 lyh

gx

@@ -65,9 +65,9 @@ class UpgradeProjectCount extends Command @@ -65,9 +65,9 @@ class UpgradeProjectCount extends Command
65 ->groupBy('month')->get()->toArray(); 65 ->groupBy('month')->get()->toArray();
66 foreach ($list as $k=>$v){ 66 foreach ($list as $k=>$v){
67 $v = (array)$v; 67 $v = (array)$v;
68 - if($v['month'] == date('Y-m')){  
69 - continue;  
70 - } 68 +// if($v['month'] == date('Y-m')){
  69 +// continue;
  70 +// }
71 $monthCountModel = new MonthCount(); 71 $monthCountModel = new MonthCount();
72 $info = $monthCountModel->read(['month'=>$v['month'],'project_id'=>$project_id]); 72 $info = $monthCountModel->read(['month'=>$v['month'],'project_id'=>$project_id]);
73 // 获取当月开始时间 73 // 获取当月开始时间
@@ -7,6 +7,7 @@ use App\Helper\Arr; @@ -7,6 +7,7 @@ use App\Helper\Arr;
7 use App\Http\Controllers\Bside\BaseController; 7 use App\Http\Controllers\Bside\BaseController;
8 use App\Http\Logic\Bside\Product\KeywordLogic; 8 use App\Http\Logic\Bside\Product\KeywordLogic;
9 use App\Http\Requests\Bside\Product\KeywordRequest; 9 use App\Http\Requests\Bside\Product\KeywordRequest;
  10 +use App\Models\Com\NoticeLog;
10 use App\Models\Product\Keyword; 11 use App\Models\Product\Keyword;
11 use App\Models\Product\KeywordRelated; 12 use App\Models\Product\KeywordRelated;
12 use App\Models\Product\Product; 13 use App\Models\Product\Product;
@@ -232,4 +233,15 @@ class KeywordController extends BaseController @@ -232,4 +233,15 @@ class KeywordController extends BaseController
232 } 233 }
233 $this->response('success'); 234 $this->response('success');
234 } 235 }
  236 +
  237 + /**
  238 + * @remark :批量提交更新关键词
  239 + * @name :batchUpdateKeyword
  240 + * @author :lyh
  241 + * @method :post
  242 + * @time :2024/7/2 10:14
  243 + */
  244 + public function batchUpdateKeyword(){
  245 + $noticeLogModel = new NoticeLog();
  246 + }
235 } 247 }