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
88892599
Commit
88892599
authored
Apr 23, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通知详情修改
parent
7ab48701
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
IndexModuleController.java
.../gic/enterprise/web/controller/IndexModuleController.java
+13
-2
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/IndexModuleController.java
View file @
88892599
...
...
@@ -2,6 +2,8 @@ package com.gic.enterprise.web.controller;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.auth.dto.ChannelResourceDTO
;
import
com.gic.auth.service.ResourceApiService
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.data.api.dto.*
;
import
com.gic.data.api.service.MemberDataApiService
;
...
...
@@ -61,6 +63,8 @@ public class IndexModuleController {
private
StoreApiService
storeApiService
;
@Autowired
private
MemberDataApiService
memberDataApiService
;
@Autowired
private
ResourceApiService
resourceApiService
;
@RequestMapping
(
"/list-index-module"
)
public
RestResponse
listIndexModule
()
{
...
...
@@ -255,10 +259,10 @@ public class IndexModuleController {
}
@RequestMapping
(
"list-channel-data"
)
public
RestResponse
listChannelData
(
Integer
type
,
Integer
cuType
){
public
RestResponse
listChannelData
(
Integer
type
,
Long
cardConfigId
,
Long
appletConfigId
,
Long
serviceConfigId
){
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
Integer
userId
=
UserDetailUtils
.
getUserDetail
().
getUserId
();
ServiceResponse
<
List
<
MemberChannelDataDTO
>>
listServiceResponse
=
this
.
memberDataApiService
.
listChannelData
(
type
,
c
uType
,
enterpriseId
,
userId
);
ServiceResponse
<
List
<
MemberChannelDataDTO
>>
listServiceResponse
=
this
.
memberDataApiService
.
listChannelData
(
type
,
c
ardConfigId
,
appletConfigId
,
serviceConfigId
,
enterpriseId
,
userId
);
return
RestResponse
.
success
(
listServiceResponse
.
getResult
());
}
...
...
@@ -271,6 +275,13 @@ public class IndexModuleController {
return
RestResponse
.
success
(
listServiceResponse
.
getResult
());
}
@RequestMapping
(
"list-resource"
)
public
RestResponse
listResource
(){
Integer
userId
=
UserDetailUtils
.
getUserDetail
().
getUserId
();
ServiceResponse
<
ChannelResourceDTO
>
response
=
this
.
resourceApiService
.
getChannelResourceByUserId
(
userId
);
return
RestResponse
.
success
(
response
.
getResult
());
}
private
Integer
getStoreNum
(
Integer
enterpriseId
,
Integer
status
,
String
provinceId
){
StoreSearchDTO
storeSearchDTO
=
new
StoreSearchDTO
();
...
...
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