package com.pig4cloud.pig.statistics.controller;


import com.pig4cloud.pig.common.core.util.R;
import com.pig4cloud.pig.statistics.api.dto.distribution.UserDistributionDTO;
import com.pig4cloud.pig.statistics.api.vo.distribution.UserDistributionVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wcl
 * @date 2025/8/22 11:46
 * @description: 用户参与度
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("/userDuration")
@Tag(description = "userDuration", name = "用户参与度")
public class UserDurationController {

	@PostMapping("/getDurationRange")
	@Operation(summary = "使用时长查询")
	public R<UserDistributionVO> getDurationRange(@RequestBody UserDistributionDTO dto) {
		return R.ok();
	}

}


