正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -175,6 +175,9 @@ class NewsLogic extends BaseLogic | @@ -175,6 +175,9 @@ class NewsLogic extends BaseLogic | ||
| 175 | RouteMap::delRoute(RouteMap::SOURCE_NEWS, $id, $this->user['project_id']); | 175 | RouteMap::delRoute(RouteMap::SOURCE_NEWS, $id, $this->user['project_id']); |
| 176 | $this->delRoute($id); | 176 | $this->delRoute($id); |
| 177 | $this->model->del(['id' => $id]); | 177 | $this->model->del(['id' => $id]); |
| 178 | + //删除扩展字段 | ||
| 179 | + $extendInfoModel = new NewsExtendInfo(); | ||
| 180 | + $extendInfoModel->del(['news_id'=>$id]); | ||
| 178 | } | 181 | } |
| 179 | } | 182 | } |
| 180 | DB::commit(); | 183 | DB::commit(); |
-
请 注册 或 登录 后发表评论