Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
366f4e6e
Commit
366f4e6e
authored
Dec 12, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口处理(重庆)
parent
096b5c5d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
common/service_base/src/main/java/com/founder/servicebase/config/Knife4jConfig.java
+3
-3
service/publicapi/src/main/java/com/founder/publicapi/controller/cqNewService/CqNewServiceController.java
+2
-2
No files found.
common/service_base/src/main/java/com/founder/servicebase/config/Knife4jConfig.java
View file @
366f4e6e
...
...
@@ -52,10 +52,10 @@ public class Knife4jConfig {
private
ApiInfo
apiInfo
()
{
return
new
ApiInfoBuilder
()
.
title
(
"
实战分析中心
API文档"
)
.
description
(
"
本文档描述了实战分析微服务接口定义
"
)
.
title
(
"
刑总服务资源管理
API文档"
)
.
description
(
"
管理刑侦总队所有资源服务
"
)
.
version
(
"1.0"
)
.
contact
(
new
Contact
(
"
java"
,
"http://founder.com
"
,
"@founder.com"
))
.
contact
(
new
Contact
(
"
founder"
,
"http://77.1.24.19:1003
"
,
"@founder.com"
))
.
build
();
}
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/cqNewService/CqNewServiceController.java
View file @
366f4e6e
...
...
@@ -51,7 +51,7 @@ public class CqNewServiceController {
public
MapRestResult
ykmRequest
(
@RequestBody
JSONObject
params
)
{
List
<
Map
<
String
,
String
>>
listResult
=
new
ArrayList
<>();
if
(
StringUtils
.
isBlank
(
params
.
getString
(
"YDDH"
))&&
StringUtils
.
isBlank
(
params
.
getString
(
"GMSFHM"
))){
return
MapRestResult
.
ok
(
);
return
new
MapRestResult
(
200
,
"OK"
,
listResult
.
size
(),
listResult
);
}
if
(
params
.
size
()>
0
){
JSONObject
paramsAll
=
getJsonParams
(
"ykm"
,
"R-500000000000-00000029"
,
params
);
...
...
@@ -475,7 +475,7 @@ public class CqNewServiceController {
public
MapRestResult
yqfkcsmxxRequest
(
@RequestBody
JSONObject
params
)
{
List
<
Map
<
String
,
String
>>
listResult
=
new
ArrayList
<>();
if
(
StringUtils
.
isBlank
(
params
.
getString
(
"SMA_REY_GMSFHM"
))&&
StringUtils
.
isBlank
(
params
.
getString
(
"SMA_REY_YDDH"
))){
return
MapRestResult
.
ok
(
);
return
new
MapRestResult
(
200
,
"OK"
,
listResult
.
size
(),
listResult
);
}
if
(
params
.
size
()>
0
){
JSONObject
paramsAll
=
getJsonParams
(
"yqfkcsmxx"
,
"R-500000000000-00011475"
,
params
);
...
...
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