Commit 37c0826f authored by nie'hong's avatar nie'hong

统计h5导览扫码次数

parent 880587ce
......@@ -120,5 +120,15 @@ public class StatisticController extends BaseController {
return resultMap;
}
@ApiOperation(value = "统计导览扫码次数", notes = "统计导览扫码次数")
@ApiImplicitParam(name = "videoId", value = "导览视频id")
@GetMapping("/getH5VideoStatistics")
public Map getH5VideoStatistics(String videoId){
LambdaQueryWrapper<TVideoVisitor> tVideoVisitorLambdaQueryWrapper = new LambdaQueryWrapper<>();
tVideoVisitorLambdaQueryWrapper.eq(TVideoVisitor::getVideoId, videoId);
int count = this.tVideoVisitorService.count(tVideoVisitorLambdaQueryWrapper);
return getResult(count);
}
}
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