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
73782f69
Commit
73782f69
authored
Mar 04, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平台规则编辑、删除、查询接口添加
parent
bffbcacd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ConfigRuleController.java
...om/gic/operation/web/controller/ConfigRuleController.java
+16
-0
No files found.
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/ConfigRuleController.java
View file @
73782f69
...
...
@@ -14,6 +14,11 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@RestController
@RequestMapping
(
"/config/rule"
)
public
class
ConfigRuleController
{
...
...
@@ -70,4 +75,15 @@ public class ConfigRuleController {
return
ResultControllerUtils
.
commonPageResult
(
dealOperationApiService
.
pageSceneCategory
(
search
,
pageNum
,
pageSize
),
SceneCategoryVO
.
class
);
}
@RequestMapping
(
"/list-market-object"
)
public
RestResponse
listMarketObject
()
{
List
<
Map
<
String
,
String
>>
result
=
new
ArrayList
<>(
3
);
Map
<
String
,
String
>
map
=
new
HashMap
<>(
8
);
map
.
put
(
"1"
,
"会员卡域"
);
map
.
put
(
"2"
,
"服务号域"
);
map
.
put
(
"3"
,
"小程序域"
);
result
.
add
(
map
);
return
RestResponse
.
success
(
result
);
}
}
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