Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
semi-server
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
inroi
semi-server
Commits
575f2405
提交
575f2405
authored
10月 26, 2022
作者:
inroi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
微调
上级
2a2c6715
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
24 行增加
和
6 行删除
+24
-6
Api.sql
integrate-system/db/Api.sql
+21
-0
CommonHttpController.java
...main/java/com/system/controller/CommonHttpController.java
+3
-6
没有找到文件。
integrate-system/db/Api.sql
浏览文件 @
575f2405
...
@@ -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 */
;
...
...
integrate-system/src/main/java/com/system/controller/CommonHttpController.java
浏览文件 @
575f2405
...
@@ -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
(
"触发平台对接商品"
)
@
Ge
tMapping
(
"/docking/shopping/mall/commodity"
)
@
Pos
tMapping
(
"/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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论