Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
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
shenjunjie
brandkbs2
Commits
1b4ac74d
Commit
1b4ac74d
authored
Nov 16, 2023
by
shenjunjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'master'
Release See merge request
!418
parents
e2183a3e
cb3f89f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
src/main/java/com/zhiwei/brandkbs2/controller/admin/ArticleController.java
+1
-0
src/main/java/com/zhiwei/brandkbs2/service/impl/IndexServiceImpl.java
+1
-1
No files found.
src/main/java/com/zhiwei/brandkbs2/controller/admin/ArticleController.java
View file @
1b4ac74d
...
...
@@ -43,6 +43,7 @@ import java.util.Map;
@RequestMapping
(
"/admin/article"
)
@Api
(
tags
=
"稿件上传"
,
description
=
"提供稿件的上传功能"
)
@Auth
(
role
=
RoleEnum
.
COMMON_ADMIN
)
@Deprecated
public
class
ArticleController
extends
BaseController
{
public
static
final
Logger
log
=
LogManager
.
getLogger
(
ArticleController
.
class
);
...
...
src/main/java/com/zhiwei/brandkbs2/service/impl/IndexServiceImpl.java
View file @
1b4ac74d
...
...
@@ -310,7 +310,7 @@ public class IndexServiceImpl implements IndexService {
JSONObject
yuQing
=
new
JSONObject
();
yuQing
.
put
(
"avgTotal"
,
yuQingResult
.
getIntValue
(
"avgTotal"
));
yuQing
.
put
(
"compare"
,
yuQingResult
.
getDoubleValue
(
"compare"
));
yuQing
.
put
(
"yuqingTotal"
,
yuQingResult
.
getIntValue
(
"
yuqingTotal
"
));
yuQing
.
put
(
"yuqingTotal"
,
yuQingResult
.
getIntValue
(
"
rangeCount
"
));
result
.
put
(
"yuqing"
,
yuQing
);
JSONObject
reputation
=
new
JSONObject
();
reputation
.
put
(
"avgReputation"
,
reputationResult
.
getDoubleValue
(
"avgPosPro"
));
...
...
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