Commit 1b4ac74d by shenjunjie

Merge branch 'release' into 'master'

Release

See merge request !418
parents e2183a3e cb3f89f2
...@@ -43,6 +43,7 @@ import java.util.Map; ...@@ -43,6 +43,7 @@ import java.util.Map;
@RequestMapping("/admin/article") @RequestMapping("/admin/article")
@Api(tags = "稿件上传", description = "提供稿件的上传功能") @Api(tags = "稿件上传", description = "提供稿件的上传功能")
@Auth(role = RoleEnum.COMMON_ADMIN) @Auth(role = RoleEnum.COMMON_ADMIN)
@Deprecated
public class ArticleController extends BaseController { public class ArticleController extends BaseController {
public static final Logger log = LogManager.getLogger(ArticleController.class); public static final Logger log = LogManager.getLogger(ArticleController.class);
......
...@@ -310,7 +310,7 @@ public class IndexServiceImpl implements IndexService { ...@@ -310,7 +310,7 @@ public class IndexServiceImpl implements IndexService {
JSONObject yuQing = new JSONObject(); JSONObject yuQing = new JSONObject();
yuQing.put("avgTotal", yuQingResult.getIntValue("avgTotal")); yuQing.put("avgTotal", yuQingResult.getIntValue("avgTotal"));
yuQing.put("compare", yuQingResult.getDoubleValue("compare")); yuQing.put("compare", yuQingResult.getDoubleValue("compare"));
yuQing.put("yuqingTotal", yuQingResult.getIntValue("yuqingTotal")); yuQing.put("yuqingTotal", yuQingResult.getIntValue("rangeCount"));
result.put("yuqing", yuQing); result.put("yuqing", yuQing);
JSONObject reputation = new JSONObject(); JSONObject reputation = new JSONObject();
reputation.put("avgReputation", reputationResult.getDoubleValue("avgPosPro")); reputation.put("avgReputation", reputationResult.getDoubleValue("avgPosPro"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment