正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -21,8 +21,8 @@ class AiBlogController extends BaseController | @@ -21,8 +21,8 @@ class AiBlogController extends BaseController | ||
| 21 | * @time :2025/2/14 13:59 | 21 | * @time :2025/2/14 13:59 |
| 22 | */ | 22 | */ |
| 23 | public function getAiBlog(AiBlog $aiBlog){ | 23 | public function getAiBlog(AiBlog $aiBlog){ |
| 24 | - if(isset($this->param['new_title']) && !empty($this->param['new_title'])){ | ||
| 25 | - $this->param['new_title'] = ['like', '%'.$this->param['new_title'].'%']; | 24 | + if(isset($this->map['new_title']) && !empty($this->map['new_title'])){ |
| 25 | + $this->map['new_title'] = ['like', '%'.$this->map['new_title'].'%']; | ||
| 26 | } | 26 | } |
| 27 | $lists = $aiBlog->lists($this->map,$this->page,$this->row,'id',['id','keyword','new_title','route','image','task_id','status','created_at','updated_at']); | 27 | $lists = $aiBlog->lists($this->map,$this->page,$this->row,'id',['id','keyword','new_title','route','image','task_id','status','created_at','updated_at']); |
| 28 | if(!empty($lists) && !empty($lists['list'])){ | 28 | if(!empty($lists) && !empty($lists['list'])){ |
-
请 注册 或 登录 后发表评论