提交 575f2405 authored 作者: inroi's avatar inroi

微调

上级 2a2c6715
...@@ -618,6 +618,27 @@ CREATE TABLE `tb_third_party_log` ( ...@@ -618,6 +618,27 @@ 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_quartz_job` */
DROP TABLE IF EXISTS `tb_quartz_job`;
CREATE TABLE `tb_quartz_job` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`job_class_name` varchar(255) DEFAULT NULL COMMENT '任务类名',
`cron_expression` varchar(255) DEFAULT NULL COMMENT 'cron表达式',
`parameter` varchar(255) DEFAULT NULL COMMENT '参数',
`description` varchar(255) DEFAULT NULL COMMENT '描述',
`status` tinyint(1) DEFAULT '0' COMMENT '状态(0-关闭 1-启动)',
`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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='定时任务表';
/*Data for the table `tb_quartz_job` */
insert into `tb_quartz_job`(`id`,`job_class_name`,`cron_expression`,`parameter`,`description`,`status`,`create_time`,`update_time`) values
(1,'com.system.quartz.job.SynchronizationJob','0 */1 * * * ?','','同步定时任务',1,'2022-07-19 11:05:44','2022-10-14 16:33:53');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
......
...@@ -3,10 +3,7 @@ package com.system.controller; ...@@ -3,10 +3,7 @@ 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 io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/** /**
* @author Inori * @author Inori
...@@ -22,8 +19,8 @@ public class CommonHttpController { ...@@ -22,8 +19,8 @@ public class CommonHttpController {
} }
@ApiOperation("触发平台对接商品") @ApiOperation("触发平台对接商品")
@GetMapping("/docking/shopping/mall/commodity") @PostMapping("/docking/shopping/mall/commodity")
public RestResponse dockingShoppingMallCommodity(@ModelAttribute PlatformDockingShoppingMallCommodityInVo inVo) { public RestResponse dockingShoppingMallCommodity(@RequestBody PlatformDockingShoppingMallCommodityInVo inVo) {
System.out.println(inVo); System.out.println(inVo);
return RestResponse.success(); return RestResponse.success();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论