正在显示
1 个修改的文件
包含
0 行增加
和
8 行删除
@@ -399,14 +399,6 @@ class Index extends Api | @@ -399,14 +399,6 @@ class Index extends Api | ||
399 | $this->success('成功',$info); | 399 | $this->success('成功',$info); |
400 | } | 400 | } |
401 | 401 | ||
402 | - public function getContentAttr($value, $data) | ||
403 | - { | ||
404 | - $content = $data['content']; | ||
405 | - $content = str_replace("<img src=\"/uploads", "<img style=\"width: 100%;!important\" src=\"" . request()->domain() . "/uploads", $content); | ||
406 | - $content = str_replace("<video src=\"/uploads", "<video style=\"width: 100%;!important\" src=\"" . request()->domain() . "/uploads", $content); | ||
407 | - return $content; | ||
408 | - | ||
409 | - } | ||
410 | /** | 402 | /** |
411 | * @ApiWeigh (87) | 403 | * @ApiWeigh (87) |
412 | * @ApiTitle (收藏职位) | 404 | * @ApiTitle (收藏职位) |
-
请 注册 或 登录 后发表评论