删除私信分支链路

This commit is contained in:
2026-08-23 13:42:35 +08:00
parent 1c5c6d86bb
commit c6c2c0af6d
39 changed files with 32 additions and 1465 deletions
-13
View File
@@ -277,21 +277,9 @@ class SchemaUsers {
['label' => '认证回复', 'value' => 'auth_apply_reply'],
['label' => '下载通知', 'value' => 'download'],
['label' => '积分变动', 'value' => 'credits'],
['label' => '私信', 'value' => 'private'],
['label' => '举报反馈', 'value' => 'report'],
]],
]],
['key' => 'private', 'title' => '私信设置', 'fields' => [
['key' => 'private_s', 'label' => '启用私信功能', 'type' => 'switch', 'default' => true],
['key' => 'private_smilie_s', 'label' => '支持表情', 'type' => 'switch', 'default' => true],
['key' => 'private_code_s', 'label' => '支持代码', 'type' => 'switch', 'default' => false],
['key' => 'private_image_s', 'label' => '支持图片', 'type' => 'switch', 'default' => true],
['key' => 'private_upload_img', 'label' => '支持上传图片', 'type' => 'switch', 'default' => false],
['key' => 'private_quick_s', 'label' => '快捷回复', 'type' => 'switch', 'default' => true],
['key' => 'private_quick_often', 'label' => '常用快捷回复', 'type' => 'textarea', 'default' => "你好,请问有什么可以帮你的?\n感谢你的反馈\n已处理,请查收", 'desc' => '一行一条快捷回复文案'],
['key' => 'private_submit_text', 'label' => '发送按钮文案', 'type' => 'input', 'default' => '发送'],
['key' => 'private_placeholder', 'label' => '输入占位符', 'type' => 'input', 'default' => '请输入消息...'],
]],
],
],
'oauth' => [
@@ -580,7 +568,6 @@ class SchemaUsers {
['key' => 'user_cover_img', 'label' => '默认封面', 'type' => 'media', 'default' => ''],
['key' => 'user_rewrite_slug', 'label' => '用户页slug', 'type' => 'input', 'default' => 'user'],
['key' => 'user_follow_s', 'label' => '启用关注功能', 'type' => 'switch', 'default' => true],
['key' => 'user_message_s', 'label' => '启用私信功能', 'type' => 'switch', 'default' => true],
['key' => 'user_online_s', 'label' => '显示在线状态', 'type' => 'switch', 'default' => true],
['key' => 'user_last_active_s', 'label' => '显示最后活跃', 'type' => 'switch', 'default' => true],
]],