Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
0e16e2f1
Commit
0e16e2f1
authored
Jun 19, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
a1383956
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
QwMomentDataController.java
.../manage/web/controller/moment/QwMomentDataController.java
+45
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/moment/QwMomentDataController.java
0 → 100644
View file @
0e16e2f1
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
.
moment
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.api.service.StoreService
;
import
com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO
;
import
com.gic.haoban.common.utils.AuthWebRequestUtil
;
import
com.gic.haoban.manage.api.service.moment.QwMomentApiService
;
import
com.gic.search.engine.api.service.dynamic.ESDataDynamicOperationApiService
;
import
com.gic.web.common.utils.DataApiUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Map
;
/**
* 企微朋友圈
*/
@RestController
@RequestMapping
(
"/qw-moment"
)
public
class
QwMomentDataController
{
private
static
Logger
logger
=
LogManager
.
getLogger
(
QwMomentDataController
.
class
);
/**
* 概览
*/
@RequestMapping
(
"data_qw_moment_plan_overview"
)
@ResponseBody
public
RestResponse
<
Object
>
rewardLevel
(
Long
planId
)
{
WebLoginDTO
user
=
AuthWebRequestUtil
.
getLoginUser
();
String
enterpriseId
=
user
.
getEnterpriseId
();
JSONObject
json
=
new
JSONObject
();
json
.
put
(
"planId"
,
planId
)
;
json
.
put
(
"enterpriseId"
,
enterpriseId
)
;
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
json
.
toJSONString
(),
"data_qw_moment_plan_overview"
);
JSONObject
data
=
DataApiUtils
.
getPageOne
(
res
);
return
RestResponse
.
successResult
(
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