Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
house365-cm
Project
Project
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
徐州
house365-cm
Commits
6809bd64
Commit
6809bd64
authored
Jul 12, 2022
by
zoujintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试参数问题
parent
192aee34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
InterfaceController.java
...java/com/house365/web/controller/InterfaceController.java
+1
-2
AssessInterface.java
...java/com/house365/ws/interfaces/rest/AssessInterface.java
+8
-2
No files found.
house365-cm-web/src/main/java/com/house365/web/controller/InterfaceController.java
View file @
6809bd64
...
...
@@ -116,7 +116,6 @@ public class InterfaceController extends BaseController {
serviceName
=
String
.
valueOf
(
map
.
get
(
ServiceConstant
.
SERVICE_NAME
).
getClass
().
isArray
()
?
((
String
[])
map
.
get
(
ServiceConstant
.
SERVICE_NAME
))[
0
]
:
map
.
get
(
ServiceConstant
.
SERVICE_NAME
));
LOGGER
.
info
(
"xz--------------"
+
serviceName
);
if
(
Strings
.
isNullOrEmpty
(
serviceCode
)
||
Strings
.
isNullOrEmpty
(
serviceName
))
{
LOGGER
.
error
(
"配置执行服务异常:找不到对应服务编码 服务名称!"
);
throw
new
ServiceConfigException
(
"配置执行服务异常:找不到对应服务编码 服务名称!"
);
...
...
@@ -227,7 +226,7 @@ public class InterfaceController extends BaseController {
map
.
put
(
"userId"
,
cas
);
}
}
LOGGER
.
info
(
"xz--------------"
+
map
.
toString
());
// 封装请求参数
Parameter
parameter
=
new
Parameter
();
//封装当前的host
...
...
house365-cm-ws/src/main/java/com/house365/ws/interfaces/rest/AssessInterface.java
View file @
6809bd64
...
...
@@ -767,9 +767,15 @@ public class AssessInterface implements IAssessInterface {
String
page
=
paramMap
.
get
(
"page"
)
==
null
?
""
:
((
String
[])
paramMap
.
get
(
"page"
))[
0
];
String
pageSize
=
paramMap
.
get
(
"pagesize"
)
==
null
?
""
:
((
String
[])
paramMap
.
get
(
"pagesize"
))[
0
];
String
order
=
paramMap
.
get
(
"order"
)
==
null
?
""
:
((
String
[])
paramMap
.
get
(
"order"
))[
0
];
//TODO 新增类型
String
mapType
=
paramMap
.
get
(
"is_t_map"
)
==
null
?
""
:
((
String
[])
paramMap
.
get
(
"is_t_map"
))[
0
];
String
mapType
=
(
System
.
currentTimeMillis
()
%
2
)
+
""
;
try
{
LOGGER
.
info
(
"mapType="
+
mapType
);
mapType
=
paramMap
.
get
(
"is_t_map"
)
==
null
?
""
:
((
String
[])
paramMap
.
get
(
"is_t_map"
))[
0
];
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
e
.
getMessage
());
}
if
(
Strings
.
isNullOrEmpty
(
city
)
||
Strings
.
isNullOrEmpty
(
x
)
||
Strings
.
isNullOrEmpty
(
y
)
||
Strings
.
isNullOrEmpty
(
range
))
{
...
...
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