modify : 管理员系统
This commit is contained in:
@@ -82,30 +82,23 @@ public class ConvenientInquiryController {
|
||||
}
|
||||
|
||||
@ApiOperation("获取近期新用户")
|
||||
@GetMapping("/recentNewUser")
|
||||
public Response<IPage<Account>> recentNewUser(@ApiParam(value = "startTime") @RequestParam @Nullable String startTime,
|
||||
@ApiParam(value = "endTime") @RequestParam @Nullable String endTime,
|
||||
@ApiParam("userType visitor/trial/official") @RequestParam String userType,
|
||||
@ApiParam("page") @RequestParam int page,
|
||||
@ApiParam("size") @RequestParam int size) {
|
||||
return Response.success(convenientInquiryService.recentNewUser(startTime, endTime, userType, page, size));
|
||||
@PostMapping("/recentNewUser")
|
||||
public Response<IPage<Account>> recentNewUser(@Valid @RequestBody QueryUserConditionsVO queryUserConditionsVO) {
|
||||
return Response.success(convenientInquiryService.recentNewUser(queryUserConditionsVO));
|
||||
}
|
||||
|
||||
@ApiOperation("获取近期新用户图表数据")
|
||||
@GetMapping("/recentNewUserChart")
|
||||
public Response<Map<String, Object>> recentNewUserChart(@ApiParam(value = "startTime") @RequestParam @Nullable String startTime,
|
||||
@ApiParam(value = "endTime") @RequestParam @Nullable String endTime,
|
||||
@ApiParam("userType") @RequestParam String userType) {
|
||||
@ApiParam("userType") @RequestParam Integer userType) {
|
||||
return Response.success(convenientInquiryService.recentNewUserChart(startTime, endTime, userType));
|
||||
}
|
||||
|
||||
@ApiOperation("获取近期活跃用户")
|
||||
@GetMapping("/recentActiveUser")
|
||||
public Response<IPage<Account>> recentActiveUser(@ApiParam(value = "startTime") @RequestParam @Nullable String startTime,
|
||||
@ApiParam(value = "endTime") @RequestParam @Nullable String endTime,
|
||||
@ApiParam("pageNum") @RequestParam int page,
|
||||
@ApiParam("size") @RequestParam int size) {
|
||||
return Response.success(convenientInquiryService.recentActiveUser(startTime, endTime, page, size));
|
||||
@PostMapping("/recentActiveUser")
|
||||
public Response<IPage<Account>> recentActiveUser(@Valid @RequestBody QueryUserConditionsVO queryUserConditionsVO) {
|
||||
return Response.success(convenientInquiryService.recentActiveUser(queryUserConditionsVO));
|
||||
}
|
||||
|
||||
@ApiOperation("获取近期活跃用户图表数据")
|
||||
|
||||
Reference in New Issue
Block a user