正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -137,7 +137,7 @@ class GeoQuestionResLogic extends BaseLogic | @@ -137,7 +137,7 @@ class GeoQuestionResLogic extends BaseLogic | ||
| 137 | * @time :2025/7/21 16:36 | 137 | * @time :2025/7/21 16:36 |
| 138 | */ | 138 | */ |
| 139 | public function getSearchDate(){ | 139 | public function getSearchDate(){ |
| 140 | - $dates = $this->model->select(DB::raw('DATE(created_at) as date_only'))->distinct()->pluck('date_only'); | 140 | + $dates = $this->model->where('project_id',$this->user['project_id'])->select(DB::raw('DATE(created_at) as date_only'))->distinct()->pluck('date_only'); |
| 141 | return $this->success($dates); | 141 | return $this->success($dates); |
| 142 | } | 142 | } |
| 143 | 143 |
-
请 注册 或 登录 后发表评论