|
|
@ -43,7 +43,6 @@ public class KcScreenController { |
|
|
|
* @Description 首页-平台各类总数 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("homepage/summary") |
|
|
|
public Result<HomepageSummaryResultDTO> homepageSummary(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<HomepageSummaryResultDTO>().ok(kcScreenService.homepageSummary(externalAppRequestParam)); |
|
|
@ -54,7 +53,6 @@ public class KcScreenController { |
|
|
|
* @Description 公益互助-各类总数汇总 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("heart/summary") |
|
|
|
public Result<HeartSummaryResultDTO> heartSummary(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<HeartSummaryResultDTO>().ok(kcScreenService.heartSummary(externalAppRequestParam)); |
|
|
@ -65,7 +63,6 @@ public class KcScreenController { |
|
|
|
* @Description 公益互助-公益活动次数 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("heart/actcounttrend") |
|
|
|
public Result<HeartActcounttrendResultDTO> heartActcounttrend(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<HeartActcounttrendResultDTO>().ok(kcScreenService.heartActcounttrend(externalAppRequestParam)); |
|
|
@ -75,8 +72,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("issue/summary") |
|
|
|
public Result getIssueSummary(ExternalAppRequestParam externalAppRequestParam) { |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -90,7 +85,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("issue/partitrend") |
|
|
|
public Result getIssuePartiTrend(ExternalAppRequestParam externalAppRequestParam) { |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -104,7 +98,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("issue/gridtotalrank") |
|
|
|
public Result getIssueGridTotalRank(ExternalAppRequestParam externalAppRequestParam) { |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -117,7 +110,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("issue/avgaudittimerank") |
|
|
|
public Result getAvgAuditTimeRank(ExternalAppRequestParam externalAppRequestParam) { |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -130,7 +122,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("issue/effective") |
|
|
|
public Result getIssueEffective(ExternalAppRequestParam externalAppRequestParam) { |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -144,7 +135,6 @@ public class KcScreenController { |
|
|
|
* @Description 公益互助-志愿者画像 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("heart/volunteerportrayal") |
|
|
|
public Result<HeartVolunteerportrayalResultDTO> heartVolunteerportrayal(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<HeartVolunteerportrayalResultDTO>().ok(kcScreenService.heartVolunteerportrayal(externalAppRequestParam)); |
|
|
@ -155,7 +145,6 @@ public class KcScreenController { |
|
|
|
* @Description 公益互助-个人(志愿者)公益时长排名 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("heart/volunteerrank") |
|
|
|
public Result<List<HeartVolunteerrankResultDTO>> heartVolunteerrank(ExternalAppRequestParam externalAppRequestParam, @RequestBody HeartVolunteerrankFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, HeartVolunteerrankFormDTO.AddUserInternalGroup.class); |
|
|
@ -169,7 +158,6 @@ public class KcScreenController { |
|
|
|
* @Description 邻里党群-各类总数 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("group/summary") |
|
|
|
public Result<GroupSummaryResultDTO> groupSummary(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<GroupSummaryResultDTO>().ok(kcScreenService.groupSummary(externalAppRequestParam)); |
|
|
@ -180,7 +168,6 @@ public class KcScreenController { |
|
|
|
* @Description 邻里党群-话题参与趋势 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("group/partitopictrend") |
|
|
|
public Result<GroupPartitopictrendResultDTO> groupPartitopictrend(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<GroupPartitopictrendResultDTO>().ok(kcScreenService.groupPartitopictrend(externalAppRequestParam)); |
|
|
@ -191,7 +178,6 @@ public class KcScreenController { |
|
|
|
* @Description 邻里党群-社群数量排名 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("group/gridgroupcountrank") |
|
|
|
public Result<GroupGridgroupcountrankResultDTO> groupGridgroupcountrank(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
return new Result<GroupGridgroupcountrankResultDTO>().ok(kcScreenService.groupGridgroupcountrank(externalAppRequestParam)); |
|
|
@ -202,7 +188,6 @@ public class KcScreenController { |
|
|
|
* @Description 邻里党群-社群数量排名 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("group/usercountrank") |
|
|
|
public Result<List<GroupUserCountRankResultDTO>> groupUserCountRank(ExternalAppRequestParam externalAppRequestParam, @RequestBody GroupUserCountRankFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, GroupUserCountRankFormDTO.AddUserInternalGroup.class); |
|
|
@ -215,7 +200,6 @@ public class KcScreenController { |
|
|
|
* @Description 邻里党群-话题转化率排名 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("group/topicshiftissueratiorank") |
|
|
|
public Result<List<GroupTopicShiftIssueRatioRankResultDTO>> groupTopicShiftIssueRatioRank(ExternalAppRequestParam externalAppRequestParam, @RequestBody GroupTopicShiftIssueRatioRankFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, GroupTopicShiftIssueRatioRankFormDTO.AddUserInternalGroup.class); |
|
|
@ -228,7 +212,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("project/summary") |
|
|
|
public Result<ProjectSummaryResultDTO> getProjectSummary(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|
|
@ -241,7 +224,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("project/gridcountrank") |
|
|
|
public Result<GridProjectCountRankResultDTO> getProjectGridCountRank(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|
|
@ -254,7 +236,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("project/categoryanalysis") |
|
|
|
public Result<List<ProjectCategoryAnalysisResultDTO>> getProjectCategoryAnalysis(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|
|
@ -267,7 +248,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("project/avgclosedtimeanalysis") |
|
|
|
public Result<List<ProjectAvgClosedTimeResultDTO>> getGridProjectAvgClosedTimeAnalysis(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|
|
@ -280,7 +260,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("project/statis") |
|
|
|
public Result<ProjectSatisfactionResultDTO> getProjectSatisfactionAnalyze(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -292,7 +271,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("user/summary") |
|
|
|
public Result<UserSummaryResultDTO> getUserSummary(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -305,7 +283,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("user/trend") |
|
|
|
public Result<KcUserTrendResultDTO> getUserTrend(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -317,7 +294,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("user/griduserrank") |
|
|
|
public Result<KcUserRankResultDTO> getUserRank(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -329,7 +305,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("user/userportrayal") |
|
|
|
public Result<KcUserPortrayalResultDTO> getUserPortrayal(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -341,7 +316,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("user/pointsrank") |
|
|
|
public Result<KcUserPointRankResultDTO> getUserPointsRank(ExternalAppRequestParam externalAppRequestParam, |
|
|
|
@RequestBody PageFormDTO form) { |
|
|
@ -354,7 +328,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("news/summary") |
|
|
|
public Result<ScreenKcNewsSummaryResultDTO> getNewsSummary(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -366,7 +339,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("news/partitrend") |
|
|
|
public Result<ScreenKcNewsPartiTrendResultDTO> getNewsPartiTrend(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -378,7 +350,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("news/category") |
|
|
|
public Result<List<ScreenKcCategoryNewsCountResultDTO>> getNewsCountGroupByCategory(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -390,7 +361,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("news/userparticategoryrank") |
|
|
|
public Result<ScreenKcCategoryNewsRankResultDTO> getNewsPartiCategoryRank(ExternalAppRequestParam externalAppRequestParam){ |
|
|
|
String customerId = externalAppRequestParam.getCustomerId(); |
|
|
@ -402,7 +372,6 @@ public class KcScreenController { |
|
|
|
* @param externalAppRequestParam |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("news/hotrank") |
|
|
|
public Result<List<ScreenKcNewsHotRankResultDTO>> listNewsHotRank(ExternalAppRequestParam externalAppRequestParam, |
|
|
|
@RequestBody PageFormDTO form){ |
|
|
|