Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 34674f9b
authored
Oct 18, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开发不在店试驾统计任务
1 parent
e9c4b4c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
src/main/java/cn/com/glsx/stdinterface/api/ElectricInStoreClient.java
src/main/java/cn/com/glsx/stdinterface/fallback/ElectricInStoreFallbackImpl.java
src/main/java/cn/com/glsx/stdinterface/api/ElectricInStoreClient.java
View file @
34674f9
...
...
@@ -20,4 +20,7 @@ public interface ElectricInStoreClient {
@PostMapping
(
value
=
"/insertelectricinstore"
)
R
insertElectricInStore
(
@RequestBody
ElectricInStoreDto
electricInStoreDrive
);
@GetMapping
(
value
=
"/calculateInStoreDateEveryDay"
)
R
calculateInStoreDateEveryDay
();
}
src/main/java/cn/com/glsx/stdinterface/fallback/ElectricInStoreFallbackImpl.java
View file @
34674f9
...
...
@@ -32,4 +32,10 @@ public class ElectricInStoreFallbackImpl implements ElectricInStoreClient {
log
.
warn
(
"insertElectricInStore 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
}
@Override
public
R
calculateInStoreDateEveryDay
()
{
log
.
warn
(
"calculateInStoreDateEveryDay 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment