|
@@ -1,6 +1,5 @@
|
|
package org.jeecg.modules.system.controller;
|
|
package org.jeecg.modules.system.controller;
|
|
|
|
|
|
-import cn.com.ctop.crawler.modules.account.entity.KuaishouAppAccount;
|
|
|
|
import cn.com.ctop.userefficientvideomap.entity.DesignMaterialInfo;
|
|
import cn.com.ctop.userefficientvideomap.entity.DesignMaterialInfo;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -9,7 +8,10 @@ import org.jeecg.common.api.vo.Result;
|
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
|
import org.jeecg.modules.system.service.IPerformanceService2;
|
|
import org.jeecg.modules.system.service.IPerformanceService2;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -35,7 +37,7 @@ public class PerformanceController2 {
|
|
@ApiOperation(value = "平台的总有效数量、素材总数、素材有效率、总跑量、当前可获得绩效", notes = "平台的总有效数量、素材总数、素材有效率、总跑量、当前可获得绩效")
|
|
@ApiOperation(value = "平台的总有效数量、素材总数、素材有效率、总跑量、当前可获得绩效", notes = "平台的总有效数量、素材总数、素材有效率、总跑量、当前可获得绩效")
|
|
@PostMapping(value = "/getPerformanceInfo")
|
|
@PostMapping(value = "/getPerformanceInfo")
|
|
public Result<Map<String,Object>> getPerformanceInfo() {
|
|
public Result<Map<String,Object>> getPerformanceInfo() {
|
|
- Result<Map<String,Object>> result = new Result<Map<String,Object>>();
|
|
|
|
|
|
+ Result<Map<String, Object>> result = new Result<>();
|
|
Map<String,Object> resultMap = new HashMap<>();
|
|
Map<String,Object> resultMap = new HashMap<>();
|
|
try {
|
|
try {
|
|
resultMap = performanceService.getPerformanceInfo();
|
|
resultMap = performanceService.getPerformanceInfo();
|