Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
f165714b
Commit
f165714b
authored
May 16, 2023
by
彭松
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/smart_gov_platform
parents
46156897
4c834c2c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2353 additions
and
2134 deletions
+2353
-2134
portal-manager/db/product_db.sql
portal-manager/db/product_db.sql
+27
-26
portal-manager/src/main/java/com/mortals/xhx/module/product/model/ProductInterfaceEntity.java
...tals/xhx/module/product/model/ProductInterfaceEntity.java
+203
-203
portal-manager/src/main/java/com/mortals/xhx/module/product/model/ProductInterfaceQuery.java
...rtals/xhx/module/product/model/ProductInterfaceQuery.java
+1205
-1018
portal-manager/src/main/java/com/mortals/xhx/module/product/web/ProductInterfaceController.java
...ls/xhx/module/product/web/ProductInterfaceController.java
+3
-0
portal-manager/src/main/resources/sqlmap/module/product/ProductInterfaceMapper.xml
...esources/sqlmap/module/product/ProductInterfaceMapper.xml
+915
-887
No files found.
portal-manager/db/product_db.sql
View file @
f165714b
...
@@ -19,32 +19,33 @@ CREATE TABLE `mortals_xhx_product` (
...
@@ -19,32 +19,33 @@ CREATE TABLE `mortals_xhx_product` (
-- 产品接口表
-- 产品接口表
-- ----------------------------
-- ----------------------------
DROP
TABLE
IF
EXISTS
`mortals_xhx_product_interface`
;
DROP
TABLE
IF
EXISTS
`mortals_xhx_product_interface`
;
CREATE
TABLE
`mortals_xhx_product_interface`
(
CREATE
TABLE
mortals_xhx_product_interface
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'序号,主键,自增长'
,
`id`
bigint
(
20
)
AUTO_INCREMENT
COMMENT
'序号,主键,自增长'
,
`productId`
bigint
(
20
)
NOT
NULL
COMMENT
'产品id'
,
`productId`
bigint
(
20
)
NOT
NULL
COMMENT
'产品id'
,
`interfaceName`
varchar
(
128
)
NOT
NULL
COMMENT
'接口名称'
,
`interfaceName`
varchar
(
128
)
NOT
NULL
COMMENT
'接口名称'
,
`versionNumber`
varchar
(
64
)
NOT
NULL
COMMENT
'版本号'
,
`versionNumber`
varchar
(
64
)
NOT
NULL
COMMENT
'版本号'
,
`requestType`
tinyint
(
2
)
DEFAULT
'1'
COMMENT
'请求类型1:POST,2:GET'
,
`requestType`
tinyint
(
2
)
DEFAULT
'1'
COMMENT
'请求类型1:POST,2:GET'
,
`requestProtocol`
tinyint
(
2
)
DEFAULT
'1'
COMMENT
'请求协议1:HTTP,2:HTTPS'
,
`requestProtocol`
tinyint
(
2
)
DEFAULT
'1'
COMMENT
'请求协议1:HTTP,2:HTTPS'
,
`requestUrl`
varchar
(
128
)
DEFAULT
NULL
COMMENT
'请求路径'
,
`requestUrl`
varchar
(
128
)
COMMENT
'请求路径'
,
`timeoutValue`
int
(
8
)
DEFAULT
NULL
COMMENT
'超时时间(秒)'
,
`timeoutValue`
int
(
8
)
COMMENT
'超时时间(秒)'
,
`limitStrategy`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'限流策略1:分钟,2:小时'
,
`limitStrategy`
tinyint
(
2
)
COMMENT
'限流策略1:分钟,2:小时'
,
`network`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'访问网络1互联网2政务网'
,
`network`
varchar
(
64
)
COMMENT
'访问网络1互联网2政务网'
,
`description`
text
COMMENT
'接口描述'
,
`description`
text
COMMENT
'接口描述'
,
`flowControl`
text
COMMENT
'流控信息'
,
`contentType`
varchar
(
128
)
COMMENT
'内容类型'
,
`authorizeInfo`
text
COMMENT
'授权信息'
,
`interfaceTag`
tinyint
(
2
)
COMMENT
'标签'
,
`interfaceTag`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'标签'
,
`interfaceSource`
tinyint
(
2
)
DEFAULT
'1'
COMMENT
'来源1自有2非自有'
,
`interfaceSource`
tinyint
(
2
)
DEFAULT
'1'
COMMENT
'来源1自有2非自有'
,
`inEncrypt`
tinyint
(
2
)
COMMENT
'入参是否加密'
,
`requestParameters`
text
COMMENT
'请求参数'
,
`requestParameters`
text
COMMENT
'请求参数'
,
`responseParameters`
text
COMMENT
'响应数据'
,
`outEncrypt`
tinyint
(
2
)
COMMENT
'出参是否加密'
,
`errorCode`
text
COMMENT
'错误码'
,
`responseParameters`
text
COMMENT
'响应数据'
,
`changeHistory`
text
COMMENT
'变更历史'
,
`remark`
text
COMMENT
'接口描述'
,
`createUserId`
bigint
(
20
)
NOT
NULL
COMMENT
'创建用户'
,
`createUserId`
bigint
(
20
)
NOT
NULL
COMMENT
'创建用户'
,
`createTime`
datetime
NOT
NULL
COMMENT
'创建时间'
,
`createTime`
datetime
NOT
NULL
COMMENT
'创建时间'
,
`updateUserId`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'更新用户'
,
`updateUserId`
bigint
(
20
)
COMMENT
'更新用户'
,
`updateTime`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updateTime`
datetime
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'产品接口表'
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'产品接口'
;
-- ----------------------------
-- ----------------------------
-- 产品应用表
-- 产品应用表
...
...
portal-manager/src/main/java/com/mortals/xhx/module/product/model/ProductInterfaceEntity.java
View file @
f165714b
This diff is collapsed.
Click to expand it.
portal-manager/src/main/java/com/mortals/xhx/module/product/model/ProductInterfaceQuery.java
View file @
f165714b
This diff is collapsed.
Click to expand it.
portal-manager/src/main/java/com/mortals/xhx/module/product/web/ProductInterfaceController.java
View file @
f165714b
...
@@ -33,9 +33,12 @@ public class ProductInterfaceController extends BaseCRUDJsonBodyMappingControlle
...
@@ -33,9 +33,12 @@ public class ProductInterfaceController extends BaseCRUDJsonBodyMappingControlle
this
.
addDict
(
model
,
"requestType"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"requestType"
));
this
.
addDict
(
model
,
"requestType"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"requestType"
));
this
.
addDict
(
model
,
"requestProtocol"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"requestProtocol"
));
this
.
addDict
(
model
,
"requestProtocol"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"requestProtocol"
));
this
.
addDict
(
model
,
"limitStrategy"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"limitStrategy"
));
this
.
addDict
(
model
,
"limitStrategy"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"limitStrategy"
));
this
.
addDict
(
model
,
"contentType"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"contentType"
));
this
.
addDict
(
model
,
"network"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"network"
));
this
.
addDict
(
model
,
"network"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"network"
));
this
.
addDict
(
model
,
"interfaceTag"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"interfaceTag"
));
this
.
addDict
(
model
,
"interfaceTag"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"interfaceTag"
));
this
.
addDict
(
model
,
"interfaceSource"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"interfaceSource"
));
this
.
addDict
(
model
,
"interfaceSource"
,
paramService
.
getParamBySecondOrganize
(
"ProductInterface"
,
"interfaceSource"
));
this
.
addDict
(
model
,
"inEncrypt"
,
paramService
.
getParamBySecondOrganize
(
"ProductApps"
,
"isEnable"
));
this
.
addDict
(
model
,
"outEncrypt"
,
paramService
.
getParamBySecondOrganize
(
"ProductApps"
,
"isEnable"
));
super
.
init
(
model
,
context
);
super
.
init
(
model
,
context
);
}
}
...
...
portal-manager/src/main/resources/sqlmap/module/product/ProductInterfaceMapper.xml
View file @
f165714b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment