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 e6c3c7c0
authored
Oct 19, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
试驾围栏数据保存添加试驾行程结束时间和试驾行驶里程
1 parent
34674f9b
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/ElectricFenceClient.java
src/main/java/cn/com/glsx/stdinterface/fallback/ElectricFenceFallbackImpl.java
src/main/java/cn/com/glsx/stdinterface/api/ElectricFenceClient.java
View file @
e6c3c7c
...
@@ -21,4 +21,7 @@ public interface ElectricFenceClient {
...
@@ -21,4 +21,7 @@ public interface ElectricFenceClient {
@PostMapping
(
value
=
"/insertfencedrive"
)
@PostMapping
(
value
=
"/insertfencedrive"
)
R
insertFenceDrive
(
@RequestBody
ElectricFenceDto
fenceDrive
);
R
insertFenceDrive
(
@RequestBody
ElectricFenceDto
fenceDrive
);
@GetMapping
(
value
=
"/getvdidbysn"
)
R
getVdIdbySn
(
@RequestParam
String
sn
);
}
}
src/main/java/cn/com/glsx/stdinterface/fallback/ElectricFenceFallbackImpl.java
View file @
e6c3c7c
...
@@ -32,4 +32,10 @@ public class ElectricFenceFallbackImpl implements ElectricFenceClient {
...
@@ -32,4 +32,10 @@ public class ElectricFenceFallbackImpl implements ElectricFenceClient {
log
.
warn
(
"insertFenceDrive 熔断啦 {}"
,
cause
.
getMessage
());
log
.
warn
(
"insertFenceDrive 熔断啦 {}"
,
cause
.
getMessage
());
return
R
.
ok
(
"服务异常"
);
return
R
.
ok
(
"服务异常"
);
}
}
@Override
public
R
getVdIdbySn
(
String
sn
)
{
log
.
warn
(
"getVdIdbySn 熔断啦 {}"
,
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