diff --git a/upgrade.sql b/upgrade.sql index beedff9c6..41ce702f6 100644 --- a/upgrade.sql +++ b/upgrade.sql @@ -64,6 +64,10 @@ INSERT INTO `lucky_cron` (`type`, `period`, `period_type`, `name`, `event`, `exe INSERT INTO `lucky_cron` (`type`, `period`, `period_type`, `name`, `event`, `execute_time`, `relate_id`, `create_time`) VALUES (2, 2, 0, '店铺统计更新(按日)', 'CronStatShop', 1700447491, 0, 0); INSERT INTO `lucky_cron` (`type`, `period`, `period_type`, `name`, `event`, `execute_time`, `relate_id`, `create_time`) VALUES (2, 2, 0, '门店统计更新(按日)', 'CronStatStore', 1700447491, 0, 0); +-- 相关插件 INSERT INTO `lucky_addon` (`name`, `type`, `icon`, `title`, `description`, `status`, `author`, `version`, `version_no`, `content`, `create_time`) VALUES ('offlinepay', 'system', 'addon/offlinepay/icon.png', '线下支付', '线下支付功能', 1, '', '5.5.2', '552250604001', '', 1764398910); INSERT INTO `lucky_addon` (`name`, `type`, `icon`, `title`, `description`, `status`, `author`, `version`, `version_no`, `content`, `create_time`) VALUES ('huaweipay', 'system', 'addon/huaweipay/icon.png', '华为支付', '华为支付功能', 1, '', '5.3.1', '525231212001', '', 1717865208); +INSERT INTO `lucky_addon` (`name`, `type`, `icon`, `title`, `description`, `status`, `author`, `version`, `version_no`, `content`, `create_time`) VALUES ('aikefu', 'system', 'addon/aikefu/icon.png', '智能客服', '基于Dify的智能客服系统', 1, '', '1.0.0', '525231212001', '', 1717865208); +-- 智能客服插件菜单 +INSERT INTO `lucky_menu` (`app_module`, `addon`, `title`, `name`, `parent`, `level`, `url`, `is_show`, `sort`, `desc`, `is_icon`, `picture`, `picture_select`, `is_control`, `type`) VALUES ('shop', '', '智能客服', 'CONFIG_BASE_AIKEFU', 'CONFIG_BASE', 3, 'aikefu://shop/kefu/config', 1, 88, '', 0, '', '', 1, 'page');