Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
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
姚本章
dm_project
Commits
9e276215
Commit
9e276215
authored
Feb 26, 2021
by
zhangc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
b9eee62f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ProducerServiceImpl.java
...main/java/com/jz/dm/service/impl/ProducerServiceImpl.java
+4
-4
No files found.
jz-dm-apigateway/src/main/java/com/jz/dm/service/impl/ProducerServiceImpl.java
View file @
9e276215
...
@@ -352,9 +352,9 @@ public class ProducerServiceImpl implements ProducerService {
...
@@ -352,9 +352,9 @@ public class ProducerServiceImpl implements ProducerService {
ApiOpenApiEsFields
fields
=
new
ApiOpenApiEsFields
();
ApiOpenApiEsFields
fields
=
new
ApiOpenApiEsFields
();
fields
.
setEsDatabase
(
req
.
getEsDataBase
());
fields
.
setEsDatabase
(
req
.
getEsDataBase
());
fields
.
setEsTable
(
req
.
getEsTable
());
fields
.
setEsTable
(
req
.
getEsTable
());
fields
.
setFieldName
(
jsonObject
.
get
(
"name"
).
toString
(
));
fields
.
setFieldName
(
jsonObject
.
get
String
(
"name"
));
fields
.
setFieldType
(
jsonObject
.
get
(
"type"
).
toString
(
));
fields
.
setFieldType
(
jsonObject
.
get
String
(
"type"
));
String
comment
=
jsonObject
.
get
(
"comment"
).
toString
(
);
String
comment
=
jsonObject
.
get
String
(
"comment"
);
fields
.
setFieldDesc
(
comment
==
null
||
comment
==
""
?
""
:
comment
);
fields
.
setFieldDesc
(
comment
==
null
||
comment
==
""
?
""
:
comment
);
fields
.
setCreateUser
(
req
.
getCreateUser
());
fields
.
setCreateUser
(
req
.
getCreateUser
());
listApiEsFields
.
add
(
fields
);
listApiEsFields
.
add
(
fields
);
...
@@ -383,7 +383,7 @@ public class ProducerServiceImpl implements ProducerService {
...
@@ -383,7 +383,7 @@ public class ProducerServiceImpl implements ProducerService {
return
Result
.
of_error
(
"限流类型不存在!"
);
return
Result
.
of_error
(
"限流类型不存在!"
);
}
}
}
}
if
(
null
==
req
.
getSignType
()
||
"0"
==
req
.
getSignType
())
{
if
(
null
==
req
.
getSignType
()
||
0
==
req
.
getSignType
())
{
return
Result
.
of_error
(
"加密类型错误!"
);
return
Result
.
of_error
(
"加密类型错误!"
);
}
}
if
(
null
!=
req
.
getReqFrequency
())
{
if
(
null
!=
req
.
getReqFrequency
())
{
...
...
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