作者 郭静帆
1 个管道 的构建 通过 耗费 0 秒

公众号

@@ -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 (收藏职位)