Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
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
liyuan
byit-myth-job
Commits
3b31a26d
Commit
3b31a26d
authored
May 28, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还原日志
parent
efed4bac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ApiController.java
...ava/com/byit/registry/admin/controller/ApiController.java
+2
-4
No files found.
byit-myth-register/myth-register-server/src/main/java/com/byit/registry/admin/controller/ApiController.java
View file @
3b31a26d
...
@@ -7,7 +7,6 @@ import com.byit.registry.admin.core.util.JacksonUtil;
...
@@ -7,7 +7,6 @@ import com.byit.registry.admin.core.util.JacksonUtil;
import
com.byit.registry.admin.service.IRegistryService
;
import
com.byit.registry.admin.service.IRegistryService
;
import
com.byit.registry.client.model.RegistryDataParamVO
;
import
com.byit.registry.client.model.RegistryDataParamVO
;
import
com.byit.registry.client.model.RegistryParamVO
;
import
com.byit.registry.client.model.RegistryParamVO
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -21,7 +20,6 @@ import java.util.Map;
...
@@ -21,7 +20,6 @@ import java.util.Map;
@Controller
@Controller
@RequestMapping
(
"/api"
)
@RequestMapping
(
"/api"
)
@Slf4j
public
class
ApiController
{
public
class
ApiController
{
@Resource
@Resource
...
@@ -67,7 +65,7 @@ public class ApiController {
...
@@ -67,7 +65,7 @@ public class ApiController {
try
{
try
{
registryParamVO
=
JacksonUtil
.
readValue
(
data
,
RegistryParamVO
.
class
);
registryParamVO
=
JacksonUtil
.
readValue
(
data
,
RegistryParamVO
.
class
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
());
System
.
err
.
println
(
e
.
getMessage
());
}
}
// parse param
// parse param
...
@@ -199,7 +197,7 @@ public class ApiController {
...
@@ -199,7 +197,7 @@ public class ApiController {
//注册数据就是从这里加载的
//注册数据就是从这里加载的
registryParamVO
=
JacksonUtil
.
readValue
(
data
,
RegistryParamVO
.
class
);
registryParamVO
=
JacksonUtil
.
readValue
(
data
,
RegistryParamVO
.
class
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"{}"
,
e
.
getMessage
());
System
.
err
.
println
(
e
.
getMessage
());
}
}
// parse param
// parse param
...
...
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