提交 7d98941d authored 作者: inroi's avatar inroi

微调

上级 575f2405
...@@ -12,7 +12,7 @@ MySQL - 5.7.25 : Database - db_integrate_shop ...@@ -12,7 +12,7 @@ MySQL - 5.7.25 : Database - db_integrate_shop
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`db_integrate_shop_shop` /*!40100 DEFAULT CHARACTER SET utf8 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`db_integrate_shop` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `db_integrate_shop`; USE `db_integrate_shop`;
...@@ -60,7 +60,7 @@ CREATE TABLE `qrtz_cron_triggers` ( ...@@ -60,7 +60,7 @@ CREATE TABLE `qrtz_cron_triggers` (
/*Data for the table `qrtz_cron_triggers` */ /*Data for the table `qrtz_cron_triggers` */
insert into `qrtz_cron_triggers`(`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`CRON_EXPRESSION`,`TIME_ZONE_ID`) values insert into `qrtz_cron_triggers`(`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`CRON_EXPRESSION`,`TIME_ZONE_ID`) values
('DefaultQuartzScheduler','com.system.quartz.job.SynchronizationJob','DEFAULT','0 */1 * * * ?','Asia/Shanghai'); ('DefaultQuartzScheduler','com.system.quartz.job.SynchronizationJob','DEFAULT','0 */1 * * * ?','Asia/Shanghai');
/*Table structure for table `qrtz_fired_triggers` */ /*Table structure for table `qrtz_fired_triggers` */
...@@ -106,7 +106,7 @@ CREATE TABLE `qrtz_job_details` ( ...@@ -106,7 +106,7 @@ CREATE TABLE `qrtz_job_details` (
/*Data for the table `qrtz_job_details` */ /*Data for the table `qrtz_job_details` */
insert into `qrtz_job_details`(`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`,`DESCRIPTION`,`JOB_CLASS_NAME`,`IS_DURABLE`,`IS_NONCONCURRENT`,`IS_UPDATE_DATA`,`REQUESTS_RECOVERY`,`JOB_DATA`) values insert into `qrtz_job_details`(`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`,`DESCRIPTION`,`JOB_CLASS_NAME`,`IS_DURABLE`,`IS_NONCONCURRENT`,`IS_UPDATE_DATA`,`REQUESTS_RECOVERY`,`JOB_DATA`) values
('DefaultQuartzScheduler','com.system.quartz.job.SynchronizationJob','DEFAULT',NULL,'com.system.quartz.job.SynchronizationJob','0','0','0','0',0xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787001737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f4000000000000c77080000001000000001740009706172616d657465727400007800); ('DefaultQuartzScheduler','com.system.quartz.job.SynchronizationJob','DEFAULT',NULL,'com.system.quartz.job.SynchronizationJob','0','0','0','0',0xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787001737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f4000000000000c77080000001000000001740009706172616d657465727400007800);
/*Table structure for table `qrtz_locks` */ /*Table structure for table `qrtz_locks` */
...@@ -121,7 +121,7 @@ CREATE TABLE `qrtz_locks` ( ...@@ -121,7 +121,7 @@ CREATE TABLE `qrtz_locks` (
/*Data for the table `qrtz_locks` */ /*Data for the table `qrtz_locks` */
insert into `qrtz_locks`(`SCHED_NAME`,`LOCK_NAME`) values insert into `qrtz_locks`(`SCHED_NAME`,`LOCK_NAME`) values
('DefaultQuartzScheduler','STATE_ACCESS'), ('DefaultQuartzScheduler','STATE_ACCESS'),
('DefaultQuartzScheduler','TRIGGER_ACCESS'); ('DefaultQuartzScheduler','TRIGGER_ACCESS');
...@@ -151,7 +151,7 @@ CREATE TABLE `qrtz_scheduler_state` ( ...@@ -151,7 +151,7 @@ CREATE TABLE `qrtz_scheduler_state` (
/*Data for the table `qrtz_scheduler_state` */ /*Data for the table `qrtz_scheduler_state` */
insert into `qrtz_scheduler_state`(`SCHED_NAME`,`INSTANCE_NAME`,`LAST_CHECKIN_TIME`,`CHECKIN_INTERVAL`) values insert into `qrtz_scheduler_state`(`SCHED_NAME`,`INSTANCE_NAME`,`LAST_CHECKIN_TIME`,`CHECKIN_INTERVAL`) values
('DefaultQuartzScheduler','LAPTOP-L53FL4S31658287731223',1658287792715,10000); ('DefaultQuartzScheduler','LAPTOP-L53FL4S31658287731223',1658287792715,10000);
/*Table structure for table `qrtz_simple_triggers` */ /*Table structure for table `qrtz_simple_triggers` */
...@@ -224,7 +224,7 @@ CREATE TABLE `qrtz_triggers` ( ...@@ -224,7 +224,7 @@ CREATE TABLE `qrtz_triggers` (
/*Data for the table `qrtz_triggers` */ /*Data for the table `qrtz_triggers` */
insert into `qrtz_triggers`(`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`JOB_NAME`,`JOB_GROUP`,`DESCRIPTION`,`NEXT_FIRE_TIME`,`PREV_FIRE_TIME`,`PRIORITY`,`TRIGGER_STATE`,`TRIGGER_TYPE`,`START_TIME`,`END_TIME`,`CALENDAR_NAME`,`MISFIRE_INSTR`,`JOB_DATA`) values insert into `qrtz_triggers`(`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`JOB_NAME`,`JOB_GROUP`,`DESCRIPTION`,`NEXT_FIRE_TIME`,`PREV_FIRE_TIME`,`PRIORITY`,`TRIGGER_STATE`,`TRIGGER_TYPE`,`START_TIME`,`END_TIME`,`CALENDAR_NAME`,`MISFIRE_INSTR`,`JOB_DATA`) values
('DefaultQuartzScheduler','com.system.quartz.job.SynchronizationJob','DEFAULT','com.system.quartz.job.SynchronizationJob','DEFAULT',NULL,1658287860000,1658287800000,5,'WAITING','CRON',1655176229000,0,NULL,0,''); ('DefaultQuartzScheduler','com.system.quartz.job.SynchronizationJob','DEFAULT','com.system.quartz.job.SynchronizationJob','DEFAULT',NULL,1658287860000,1658287800000,5,'WAITING','CRON',1655176229000,0,NULL,0,'');
/*Table structure for table `t_schedule_trigger` */ /*Table structure for table `t_schedule_trigger` */
...@@ -276,11 +276,11 @@ CREATE TABLE `oauth_client_details` ( ...@@ -276,11 +276,11 @@ CREATE TABLE `oauth_client_details` (
`additional_information` varchar(4096) DEFAULT NULL, `additional_information` varchar(4096) DEFAULT NULL,
`autoapprove` varchar(256) DEFAULT NULL, `autoapprove` varchar(256) DEFAULT NULL,
PRIMARY KEY (`client_id`) PRIMARY KEY (`client_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*Data for the table `oauth_client_details` */ /*Data for the table `oauth_client_details` */
insert into `oauth_client_details`(`client_id`,`resource_ids`,`client_secret`,`scope`,`authorized_grant_types`,`web_server_redirect_uri`,`authorities`,`access_token_validity`,`refresh_token_validity`,`additional_information`,`autoapprove`) values insert into `oauth_client_details`(`client_id`,`resource_ids`,`client_secret`,`scope`,`authorized_grant_types`,`web_server_redirect_uri`,`authorities`,`access_token_validity`,`refresh_token_validity`,`additional_information`,`autoapprove`) values
('auth-client',NULL,'$2a$10$o2l5kA7z.Caekp72h5kU7uqdTDrlamLq.57M1F6ulJln9tRtOJufq','all','authorization_code,refresh_token,password',NULL,NULL,NULL,NULL,NULL,NULL), ('auth-client',NULL,'$2a$10$o2l5kA7z.Caekp72h5kU7uqdTDrlamLq.57M1F6ulJln9tRtOJufq','all','authorization_code,refresh_token,password',NULL,NULL,NULL,NULL,NULL,NULL),
('codegenerator-client',NULL,'$2a$10$pKOYERvA7GXe9nsY6arlauD87nnG5OriMJCOlVOOOzqI0AMKDP/hK','all','authorization_code,refresh_token,password',NULL,NULL,3600,36000,NULL,'1'), ('codegenerator-client',NULL,'$2a$10$pKOYERvA7GXe9nsY6arlauD87nnG5OriMJCOlVOOOzqI0AMKDP/hK','all','authorization_code,refresh_token,password',NULL,NULL,3600,36000,NULL,'1'),
('user-client',NULL,'$2a$10$o2l5kA7z.Caekp72h5kU7uqdTDrlamLq.57M1F6ulJln9tRtOJufq','all','authorization_code,refresh_token,password',NULL,NULL,7200,36000,NULL,'1'); ('user-client',NULL,'$2a$10$o2l5kA7z.Caekp72h5kU7uqdTDrlamLq.57M1F6ulJln9tRtOJufq','all','authorization_code,refresh_token,password',NULL,NULL,7200,36000,NULL,'1');
...@@ -329,11 +329,11 @@ CREATE TABLE `sys_fill_rule` ( ...@@ -329,11 +329,11 @@ CREATE TABLE `sys_fill_rule` (
`create_time` datetime DEFAULT NULL COMMENT '创建时间', `create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `uni_sys_fill_rule_code` (`rule_code`) USING BTREE UNIQUE KEY `uni_sys_fill_rule_code` (`rule_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
/*Data for the table `sys_fill_rule` */ /*Data for the table `sys_fill_rule` */
insert into `sys_fill_rule`(`id`,`rule_name`,`rule_code`,`rule_class`,`rule_params`,`update_by`,`update_time`,`create_by`,`create_time`) values insert into `sys_fill_rule`(`id`,`rule_name`,`rule_code`,`rule_class`,`rule_params`,`update_by`,`update_time`,`create_by`,`create_time`) values
('1202551334738382850','机构编码生成','org_num_role','com.starbos.cloud.oauth.system.rule.OrgCodeRule','{\"parentId\":\"c6d7cb4deeac411cb3384b1b31278596\"}','admin','2022-05-18 12:00:20','admin','2022-05-18 12:00:12'); ('1202551334738382850','机构编码生成','org_num_role','com.starbos.cloud.oauth.system.rule.OrgCodeRule','{\"parentId\":\"c6d7cb4deeac411cb3384b1b31278596\"}','admin','2022-05-18 12:00:20','admin','2022-05-18 12:00:12');
/*Table structure for table `sys_permission` */ /*Table structure for table `sys_permission` */
...@@ -355,7 +355,7 @@ CREATE TABLE `sys_permission` ( ...@@ -355,7 +355,7 @@ CREATE TABLE `sys_permission` (
`fremarks` varchar(128) DEFAULT '' COMMENT '备注', `fremarks` varchar(128) DEFAULT '' COMMENT '备注',
`fstatus` varchar(1) DEFAULT '1' COMMENT '状态', `fstatus` varchar(1) DEFAULT '1' COMMENT '状态',
`Fmodify_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', `Fmodify_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`Fmodify` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '更新人', `Fmodify` varchar(64) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '更新人',
`fdate` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `fdate` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`fcreator` varchar(64) DEFAULT '' COMMENT '创建人', `fcreator` varchar(64) DEFAULT '' COMMENT '创建人',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
...@@ -388,7 +388,7 @@ CREATE TABLE `sys_role` ( ...@@ -388,7 +388,7 @@ CREATE TABLE `sys_role` (
/*Data for the table `sys_role` */ /*Data for the table `sys_role` */
insert into `sys_role`(`id`,`role_code`,`role_Name`,`role_Desc`,`Fmodify_date`,`Fmodify`,`fdate`,`fcreator`) values insert into `sys_role`(`id`,`role_code`,`role_Name`,`role_Desc`,`Fmodify_date`,`Fmodify`,`fdate`,`fcreator`) values
(1,'admin','管理员','管理员','2022-04-21 11:32:51','admin','2022-03-31 17:21:29',''); (1,'admin','管理员','管理员','2022-04-21 11:32:51','admin','2022-03-31 17:21:29','');
/*Table structure for table `sys_role_permission` */ /*Table structure for table `sys_role_permission` */
...@@ -400,7 +400,7 @@ CREATE TABLE `sys_role_permission` ( ...@@ -400,7 +400,7 @@ CREATE TABLE `sys_role_permission` (
`role_id` bigint NOT NULL, `role_id` bigint NOT NULL,
`perm_id` bigint NOT NULL, `perm_id` bigint NOT NULL,
`Fmodify_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', `Fmodify_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`Fmodify` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '' COMMENT '更新人', `Fmodify` varchar(64) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '更新人',
`fdate` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `fdate` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`fcreator` varchar(64) DEFAULT '' COMMENT '创建人', `fcreator` varchar(64) DEFAULT '' COMMENT '创建人',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
...@@ -475,7 +475,7 @@ CREATE TABLE `sys_sms_template` ( ...@@ -475,7 +475,7 @@ CREATE TABLE `sys_sms_template` (
/*Data for the table `sys_sms_template` */ /*Data for the table `sys_sms_template` */
insert into `sys_sms_template`(`id`,`template_name`,`template_code`,`template_type`,`template_content`,`template_test_json`,`create_time`,`create_by`,`update_time`,`update_by`) values insert into `sys_sms_template`(`id`,`template_name`,`template_code`,`template_type`,`template_content`,`template_test_json`,`create_time`,`create_by`,`update_time`,`update_by`) values
('1','系统消息通知','sys_ts_note','4','<h1>&nbsp; &nbsp; 系统通知</h1>\n<ul>\n<li>通知时间:&nbsp; ${ts_date}</li>\n<li>通知内容:&nbsp; ${ts_content}</li>\n</ul>',NULL,'2019-11-27 16:30:27','admin','2019-11-27 19:36:50','admin'), ('1','系统消息通知','sys_ts_note','4','<h1>&nbsp; &nbsp; 系统通知</h1>\n<ul>\n<li>通知时间:&nbsp; ${ts_date}</li>\n<li>通知内容:&nbsp; ${ts_content}</li>\n</ul>',NULL,'2019-11-27 16:30:27','admin','2019-11-27 19:36:50','admin'),
('2','流程催办','bpm_cuiban','4','<h1>&nbsp; &nbsp;流程催办提醒</h1>\n<ul>\n<li>流程名称:&nbsp; ${bpm_name}</li>\n<li>催办任务:&nbsp; ${bpm_task}</li>\n<li>催办时间 :&nbsp; &nbsp; ${datetime}</li>\n<li>催办内容 :&nbsp; &nbsp; ${remark}</li>\n</ul>',NULL,'2019-11-27 17:08:12','admin','2019-11-27 19:36:45','admin'), ('2','流程催办','bpm_cuiban','4','<h1>&nbsp; &nbsp;流程催办提醒</h1>\n<ul>\n<li>流程名称:&nbsp; ${bpm_name}</li>\n<li>催办任务:&nbsp; ${bpm_task}</li>\n<li>催办时间 :&nbsp; &nbsp; ${datetime}</li>\n<li>催办内容 :&nbsp; &nbsp; ${remark}</li>\n</ul>',NULL,'2019-11-27 17:08:12','admin','2019-11-27 19:36:45','admin'),
('3','流程办理超时提醒','bpm_chaoshi_tip','4','<h1>&nbsp; &nbsp;流程办理超时提醒</h1>\n<ul>\n<li>&nbsp; &nbsp;超时提醒信息:&nbsp; &nbsp; 您有待处理的超时任务,请尽快处理!</li>\n<li>&nbsp; &nbsp;超时任务标题:&nbsp; &nbsp; ${title}</li>\n<li>&nbsp; &nbsp;超时任务节点:&nbsp; &nbsp; ${task}</li>\n<li>&nbsp; &nbsp;任务处理人:&nbsp; &nbsp; &nbsp; &nbsp;${user}</li>\n<li>&nbsp; &nbsp;任务开始时间:&nbsp; &nbsp; ${time}</li>\n</ul>',NULL,'2019-11-27 19:19:24','admin','2019-11-27 19:36:37','admin'), ('3','流程办理超时提醒','bpm_chaoshi_tip','4','<h1>&nbsp; &nbsp;流程办理超时提醒</h1>\n<ul>\n<li>&nbsp; &nbsp;超时提醒信息:&nbsp; &nbsp; 您有待处理的超时任务,请尽快处理!</li>\n<li>&nbsp; &nbsp;超时任务标题:&nbsp; &nbsp; ${title}</li>\n<li>&nbsp; &nbsp;超时任务节点:&nbsp; &nbsp; ${task}</li>\n<li>&nbsp; &nbsp;任务处理人:&nbsp; &nbsp; &nbsp; &nbsp;${user}</li>\n<li>&nbsp; &nbsp;任务开始时间:&nbsp; &nbsp; ${time}</li>\n</ul>',NULL,'2019-11-27 19:19:24','admin','2019-11-27 19:36:37','admin'),
...@@ -507,7 +507,7 @@ CREATE TABLE `sys_user` ( ...@@ -507,7 +507,7 @@ CREATE TABLE `sys_user` (
/*Data for the table `sys_user` */ /*Data for the table `sys_user` */
insert into `sys_user`(`id`,`username`,`realname`,`password`,`create_Date`,`last_Login_Time`,`enabled`,`account_Non_Expired`,`account_Non_Locked`,`credentials_Non_Expired`,`Fmodify_date`,`Fmodify`,`fdate`,`fcreator`) values insert into `sys_user`(`id`,`username`,`realname`,`password`,`create_Date`,`last_Login_Time`,`enabled`,`account_Non_Expired`,`account_Non_Locked`,`credentials_Non_Expired`,`Fmodify_date`,`Fmodify`,`fdate`,`fcreator`) values
(1,'admin','张三','$2a$10$6Lx/bmiLraMqI/MwE3d0y.B7fMjNkS2mN4M8o9sANbxCOw2Js2hiq','2021-11-13 00:00:00','2022-03-01',1,1,1,1,'2022-03-31 17:21:29','','2022-03-31 17:21:29',''); (1,'admin','张三','$2a$10$6Lx/bmiLraMqI/MwE3d0y.B7fMjNkS2mN4M8o9sANbxCOw2Js2hiq','2021-11-13 00:00:00','2022-03-01',1,1,1,1,'2022-03-31 17:21:29','','2022-03-31 17:21:29','');
/*Table structure for table `sys_user_depart` */ /*Table structure for table `sys_user_depart` */
...@@ -553,7 +553,7 @@ CREATE TABLE `sys_user_message` ( ...@@ -553,7 +553,7 @@ CREATE TABLE `sys_user_message` (
/*Data for the table `sys_user_message` */ /*Data for the table `sys_user_message` */
insert into `sys_user_message`(`user_id`,`name`,`avatar`,`introduction`,`fauth_account`,`fenglish_name`,`fwork_no`,`fdept`,`fphone`,`fmail`,`fwork_addr`,`fposition`,`finduction_date`,`fstate`,`fdate`,`fcreator`) values insert into `sys_user_message`(`user_id`,`name`,`avatar`,`introduction`,`fauth_account`,`fenglish_name`,`fwork_no`,`fdept`,`fphone`,`fmail`,`fwork_addr`,`fposition`,`finduction_date`,`fstate`,`fdate`,`fcreator`) values
(1,'张三','https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/baike/s=220/sign=92f3220861d0f703e2b292de38fb5148/37d3d539b6003af32267a87f362ac65c1138b6cb.jpg','','admin','admin','114514','','','114514@homo.com','123','','2022-04-12 00:00:00','困','2022-04-02 00:00:00',''); (1,'张三','https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/baike/s=220/sign=92f3220861d0f703e2b292de38fb5148/37d3d539b6003af32267a87f362ac65c1138b6cb.jpg','','admin','admin','114514','','','114514@homo.com','123','','2022-04-12 00:00:00','困','2022-04-02 00:00:00','');
/*Table structure for table `sys_user_role` */ /*Table structure for table `sys_user_role` */
...@@ -575,7 +575,7 @@ CREATE TABLE `sys_user_role` ( ...@@ -575,7 +575,7 @@ CREATE TABLE `sys_user_role` (
/*Data for the table `sys_user_role` */ /*Data for the table `sys_user_role` */
insert into `sys_user_role`(`user_id`,`role_id`,`Fmodify_date`,`Fmodify`,`fdate`,`fcreator`) values insert into `sys_user_role`(`user_id`,`role_id`,`Fmodify_date`,`Fmodify`,`fdate`,`fcreator`) values
(1,1,'2022-06-08 14:22:02','','2022-06-08 14:22:02',''); (1,1,'2022-06-08 14:22:02','','2022-06-08 14:22:02','');
/*Table structure for table `undo_log` */ /*Table structure for table `undo_log` */
...@@ -585,15 +585,15 @@ DROP TABLE IF EXISTS `undo_log`; ...@@ -585,15 +585,15 @@ DROP TABLE IF EXISTS `undo_log`;
CREATE TABLE `undo_log` ( CREATE TABLE `undo_log` (
`id` bigint NOT NULL AUTO_INCREMENT, `id` bigint NOT NULL AUTO_INCREMENT,
`branch_id` bigint NOT NULL, `branch_id` bigint NOT NULL,
`xid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, `xid` varchar(100) CHARACTER SET utf8mb4 NOT NULL,
`context` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, `context` varchar(128) CHARACTER SET utf8mb4 NOT NULL,
`rollback_info` longblob NOT NULL, `rollback_info` longblob NOT NULL,
`log_status` int NOT NULL, `log_status` int NOT NULL,
`log_created` datetime NOT NULL, `log_created` datetime NOT NULL,
`log_modified` datetime NOT NULL, `log_modified` datetime NOT NULL,
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `ux_undo_log` (`xid`,`branch_id`) USING BTREE UNIQUE KEY `ux_undo_log` (`xid`,`branch_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=385 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; ) ENGINE=InnoDB AUTO_INCREMENT=385 DEFAULT CHARSET=utf8mb4;
/*Data for the table `undo_log` */ /*Data for the table `undo_log` */
...@@ -618,6 +618,42 @@ CREATE TABLE `tb_third_party_log` ( ...@@ -618,6 +618,42 @@ CREATE TABLE `tb_third_party_log` (
/*Data for the table `tb_third_party_log` */ /*Data for the table `tb_third_party_log` */
/*Table structure for table `tb_custom_form_config` */
DROP TABLE IF EXISTS `tb_custom_form_config`;
CREATE TABLE `tb_custom_form_config` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`doc_type` varchar(64) NOT NULL COMMENT '第三方标识',
`name` varchar(64) NOT NULL COMMENT '日志名称',
`configure_direction` varchar(64) NOT NULL COMMENT '配置方向',
`operation` tinyint(1) NOT NULL COMMENT '操作(1-查询 2-创建)',
`request_address` text COMMENT '请求地址',
`response_address` text COMMENT '发送地址',
`custom_sql` text COMMENT '自定义Sql',
`form_field_mapping_detail` longtext NOT NULL COMMENT '表单字段映射明细',
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='自定义表单配置表';
/*Data for the table `tb_custom_form_config` */
/*Table structure for table `tb_synchronization_operation` */
DROP TABLE IF EXISTS `tb_synchronization_operation`;
CREATE TABLE `tb_synchronization_operation` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`job_class_name` varchar(255) NOT NULL COMMENT '任务类名',
`doc_type` varchar(64) NOT NULL COMMENT '第三方标识',
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='定时任务操作表';
/*Data for the table `tb_synchronization_operation` */
/*Table structure for table `tb_quartz_job` */ /*Table structure for table `tb_quartz_job` */
DROP TABLE IF EXISTS `tb_quartz_job`; DROP TABLE IF EXISTS `tb_quartz_job`;
......
...@@ -2,9 +2,15 @@ package com.system.controller; ...@@ -2,9 +2,15 @@ package com.system.controller;
import com.system.transfer.platform.PlatformDockingShoppingMallCommodityInVo; import com.system.transfer.platform.PlatformDockingShoppingMallCommodityInVo;
import com.system.transfer.response.RestResponse; import com.system.transfer.response.RestResponse;
import com.system.utils.HttpUtil;
import com.system.utils.JsonUtil;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/** /**
* @author Inori * @author Inori
*/ */
...@@ -22,6 +28,8 @@ public class CommonHttpController { ...@@ -22,6 +28,8 @@ public class CommonHttpController {
@PostMapping("/docking/shopping/mall/commodity") @PostMapping("/docking/shopping/mall/commodity")
public RestResponse dockingShoppingMallCommodity(@RequestBody PlatformDockingShoppingMallCommodityInVo inVo) { public RestResponse dockingShoppingMallCommodity(@RequestBody PlatformDockingShoppingMallCommodityInVo inVo) {
System.out.println(inVo); System.out.println(inVo);
ResponseEntity<String> responseEntity = HttpUtil.httpPost("http://192.168.0.9:8089/api/dataSyn/getSyn", JsonUtil.toString(Stream.of(12).collect(Collectors.toList())));
System.out.println(responseEntity.getBody());
return RestResponse.success(); return RestResponse.success();
} }
......
...@@ -47,6 +47,7 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter { ...@@ -47,6 +47,7 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
.antMatchers("/webSocketApi/**").permitAll() .antMatchers("/webSocketApi/**").permitAll()
.antMatchers("/websocket/**").permitAll() .antMatchers("/websocket/**").permitAll()
.antMatchers("/api/docking/distribution/**").permitAll() .antMatchers("/api/docking/distribution/**").permitAll()
.antMatchers("/api/docking/shopping/mall/**").permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()
// .antMatchers("/**").access("#oauth2.hasScope('ROLE_ADMIN')") // .antMatchers("/**").access("#oauth2.hasScope('ROLE_ADMIN')")
.and().csrf().disable() .and().csrf().disable()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论