前端分流页功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user