...
|
...
|
@@ -399,14 +399,6 @@ class Index extends Api |
|
|
$this->success('成功',$info);
|
|
|
}
|
|
|
|
|
|
public function getContentAttr($value, $data)
|
|
|
{
|
|
|
$content = $data['content'];
|
|
|
$content = str_replace("<img src=\"/uploads", "<img style=\"width: 100%;!important\" src=\"" . request()->domain() . "/uploads", $content);
|
|
|
$content = str_replace("<video src=\"/uploads", "<video style=\"width: 100%;!important\" src=\"" . request()->domain() . "/uploads", $content);
|
|
|
return $content;
|
|
|
|
|
|
}
|
|
|
/**
|
|
|
* @ApiWeigh (87)
|
|
|
* @ApiTitle (收藏职位)
|
...
|
...
|
|