前端分流页功能

This commit is contained in:
root
2026-06-05 04:22:29 +08:00
parent 8afe25a960
commit 34d76cce74
120 changed files with 10782 additions and 284 deletions
+2 -6
View File
@@ -94,15 +94,11 @@ class Link extends Model
}
/**
* 列表「回复语」列展示(多行合并为单行,供省略号截断
* 列表「回复语」列预览(最多 50 字 + ...,悬停用原始 auto_reply 换行展示
*/
public function getAutoReplyTextAttr($value, $data): string
{
$lines = \app\common\service\SplitAutoReplyService::parseLines((string)($data['auto_reply'] ?? ''));
if ($lines === []) {
return '';
}
return implode('', $lines);
return \app\common\service\SplitAutoReplyService::previewForList((string) ($data['auto_reply'] ?? ''));
}
public function getIpProtectTextAttr($value, $data): string