Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
9227463d
Commit
9227463d
authored
Aug 08, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商户初始化配置修改
parent
65bf9322
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
EnterpriseController.java
...om/gic/operation/web/controller/EnterpriseController.java
+11
-0
No files found.
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/EnterpriseController.java
View file @
9227463d
...
...
@@ -5,6 +5,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.Map
;
import
com.gic.enterprise.constant.EnterpriseInitCodeEnum
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -74,6 +75,15 @@ public class EnterpriseController {
return
RestResponse
.
success
(
resultMap
);
}
@RequestMapping
(
"/list-enterprise-init-config-code"
)
public
RestResponse
listEnterpriseInitConfigCode
()
{
Map
<
String
,
String
>
resultMap
=
new
HashMap
<>(
16
);
for
(
EnterpriseInitCodeEnum
statusEnum
:
EnterpriseInitCodeEnum
.
values
())
{
resultMap
.
put
(
statusEnum
.
getCode
(),
statusEnum
.
getMessage
());
}
return
RestResponse
.
success
(
resultMap
);
}
@RequestMapping
(
"/init-enterprise"
)
public
RestResponse
initEnterprise
(
Integer
enterpriseId
)
{
return
RestResponse
...
...
@@ -125,6 +135,7 @@ public class EnterpriseController {
data
.
put
(
"isInitConfig"
,
t
.
getIsInitConfig
());
data
.
put
(
"level"
,
t
.
getLevel
());
data
.
put
(
"configUrl"
,
t
.
getConfigUrl
());
data
.
put
(
"configCode"
,
t
.
getConfigCode
());
List
<
Map
<
String
,
Object
>>
children
=
changeListToTree
(
t
.
getEnterpriseInitId
(),
list
);
data
.
put
(
"children"
,
children
);
result
.
add
(
data
);
...
...
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