mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-28 13:31:04 +00:00
feat(邀新海报): update.sql 幂等写入邀新海报背景图配置项
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2cb4c258cd
commit
242e62da73
@ -11,3 +11,11 @@
|
||||
ALTER TABLE `eb_order_center`
|
||||
ADD COLUMN `is_system_del` tinyint(1) NOT NULL DEFAULT '0' COMMENT '后台删除标记(后台列表隐藏)' AFTER `is_del`,
|
||||
MODIFY COLUMN `is_del` tinyint(1) NOT NULL DEFAULT '0' COMMENT '用户删除标记(用户端隐藏)';
|
||||
|
||||
-- 2026-10-24 用户注册设置新增「邀新海报背景图」配置项(invite_poster_bg),
|
||||
-- 供分享邀新海报作为底图使用;按 menu_name 判重,重复执行不会插入多条。
|
||||
INSERT INTO `eb_system_config`
|
||||
(`id`, `menu_name`, `type`, `input_type`, `config_tab_id`, `parameter`, `upload_type`, `required`, `width`, `high`, `value`, `info`, `desc`, `sort`, `status`, `level`, `link_id`, `link_value`)
|
||||
SELECT 520, 'invite_poster_bg', 'upload', 'input', 105, '', 1, '', 0, 0, '""', '邀新海报背景图', '分享邀新海报的底图,建议尺寸 750*1334(9:16);未配置时回退「组合数据-个人中心分销海报」,两者都没有则邀新页无海报', 99, 1, 0, 0, 0
|
||||
FROM DUAL
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `eb_system_config` WHERE `menu_name` = 'invite_poster_bg');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user