pull/1/head
wanghousheng 10 months ago
parent eaa994cc7f
commit 22515f189d
  1. 10
      app/common/model/server/ServerRecovery.php

@ -73,4 +73,14 @@ class ServerRecovery extends BaseModel
->order($sort_arr)
->paginate($listRows);
}
/**
* 文章详情:HTML实体转换回普通字符
* @param $value
* @return string
*/
public function getContentAttr($value): string
{
return htmlspecialchars_decode($value);
}
}
Loading…
Cancel
Save