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
ccfd59ee
Commit
ccfd59ee
authored
Jun 24, 2022
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通过站点id列表查询
parent
afd396e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
common-lib/src/main/java/com/mortals/xhx/feign/area/IApiAreaFeign.java
...c/main/java/com/mortals/xhx/feign/area/IApiAreaFeign.java
+15
-1
No files found.
common-lib/src/main/java/com/mortals/xhx/feign/area/IApiAreaFeign.java
View file @
ccfd59ee
...
@@ -70,7 +70,13 @@ public interface IApiAreaFeign extends IFeign {
...
@@ -70,7 +70,13 @@ public interface IApiAreaFeign extends IFeign {
@PostMapping
(
value
=
"/site/getFlatSitesByAreaIds"
)
@PostMapping
(
value
=
"/site/getFlatSitesByAreaIds"
)
String
getFlatSitesByAreaIds
(
@RequestBody
SitePdu
query
);
String
getFlatSitesByAreaIds
(
@RequestBody
SitePdu
query
);
/**
* 根据条件查询站点列表
* @param query
* @return
*/
@PostMapping
(
value
=
"/site/list"
)
String
getSitesByQuery
(
@RequestBody
SitePdu
query
);
}
}
...
@@ -125,6 +131,14 @@ class AreaFeignFallbackFactory implements FallbackFactory<IApiAreaFeign> {
...
@@ -125,6 +131,14 @@ class AreaFeignFallbackFactory implements FallbackFactory<IApiAreaFeign> {
failResp
.
setMsg
(
"暂时无法获取站点列表,请稍后再试!"
);
failResp
.
setMsg
(
"暂时无法获取站点列表,请稍后再试!"
);
return
JSON
.
toJSONString
(
failResp
);
return
JSON
.
toJSONString
(
failResp
);
}
}
@Override
public
String
getSitesByQuery
(
SitePdu
query
)
{
ApiResp
<
String
>
failResp
=
new
ApiResp
<>();
failResp
.
setCode
(
ApiRespCodeEnum
.
FAILED
.
getValue
());
failResp
.
setMsg
(
"暂时无法获取站点列表,请稍后再试!"
);
return
JSON
.
toJSONString
(
failResp
);
}
};
};
}
}
}
}
...
...
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