Browse Source

fix: add handleBusiClick

guorao 1 year ago
parent
commit
3544eb2b1c

+ 4 - 4
src/main/java/com/finogeeks/swan/dataanalysis/api/UserAnalysisController.java

@@ -419,19 +419,19 @@ public class UserAnalysisController {
      * @apiPrivate
      * @apiHeader {String} X-Consumer-Custom-ID="@xxx:finogeeks.club"
      * @apiParam (QueryParam)   {String} staffId     员工fcid
-     * @apiParam (QueryParam)   {String} adIds       广告id, 多个逗号区分
+     * @apiParam (QueryParam)   {String} ids       广告id, 多个逗号区分
      * @apiSuccessExample {json} Success Status:
      * HTTP/1.1 200
      * <pre>
      * {
-     *   "visitPv": [20,12] //广告点击次数
+     *   "visitPv": [20,12] //业务推荐点击次数
      * }
      * </pre>
      * @apiErrorExample Error Status:
      * HTTP/1.1 500
      */
     @GetMapping("/visitPv/recommend")
-    public AdVO getVisitPvRecommend(@RequestHeader("X-Consumer-Custom-ID") String operator,
+    public RecommendVO getVisitPvRecommend(@RequestHeader("X-Consumer-Custom-ID") String operator,
                              @RequestParam(value = "staffId", defaultValue = "") String staffId,
                              @RequestParam(value = "ids", defaultValue = "") String ids) {
         log.info("getVisitPvRecommend request info: {}, {}, {}", operator, staffId, ids);
@@ -442,6 +442,6 @@ public class UserAnalysisController {
         if (!staffId.isEmpty()) {
             operator = staffId;
         }
-        return analysisService.getVisitPvAd(operator, ids);
+        return analysisService.getVisitPvRecommend(operator, ids);
     }
 }