Browse Source

天气预警,与公告通知功能

ouyang 2 years ago
parent
commit
840e232b0e
1 changed files with 5 additions and 2 deletions
  1. 5 2
      project_data/sql/0.0.2/soc/soc.sql

+ 5 - 2
project_data/sql/0.0.2/soc/soc.sql

@@ -200,10 +200,13 @@ INDEX `role_id_index`(`role_id`) USING BTREE
 
 
 -- 公告通知end
-delete from sys_menu where id=2166;
-INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2166, '天气预警数据', 1, 100, 'core/weather', 'core/weather/index', NULL, 1, 0, 'C', '0', '0', 'core:weather:list', '1', 'color', NULL, '超级管理员', '2023-09-12 11:40:46', '超级管理员', '2023-09-12 11:43:45', '');
+
 
 -- 天气预警start
+delete from sys_menu where id=2166;
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2166, '天气预警数据', 1, 100, 'core/weather', 'core/weather/index', NULL, 1, 0, 'C', '0', '0', 'core:weather:list', '1', 'color', NULL, '超级管理员', '2023-09-12 11:40:46', '超级管理员', '2023-09-12 11:43:45', '');
+delete from sys_config where config_key='WEATHER_APP_CODE';
+INSERT INTO `sys_config`(`config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('天气接口AppCode', 'WEATHER_APP_CODE', '3ea812b74f67479e9ab0b3d1969a18d2...0', 'N', '超级管理员', '2023-09-13 14:08:42', '超级管理员', '2023-09-13 14:38:32', '天气接口的appcode(请根据购买的api接口填写)');
 DROP TABLE IF EXISTS `core_weather_warning`;
 CREATE TABLE `core_weather_warning`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,