You've already forked FrameTour-BE
修改bug,添加数据统计相关类
This commit is contained in:
@ -40,6 +40,7 @@ AppFaceController {
|
||||
return faceService.faceUPload(file,scenicId);
|
||||
}
|
||||
|
||||
@ApiOperation("查询人脸照片信息")
|
||||
@GetMapping("/getFaceData")
|
||||
public ApiResponse<FaceRespVO> getFaceData() {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
|
@ -54,9 +54,9 @@ public class AppGoodsController {
|
||||
/**
|
||||
* 查询用户当前景区的视频合成任务状态
|
||||
* @param scenicId 景区id
|
||||
* @return 1 合成中 2 合成成功
|
||||
* @return 0没有任务 1 合成中 2 合成成功
|
||||
*/
|
||||
@ApiOperation("查询用户当前景区的整体视频合成任务状态 1 合成中 2 合成成功 ")
|
||||
@ApiOperation("查询用户当前景区的整体视频合成任务状态 0没有任务 1 合成中 2 合成成功 ")
|
||||
@GetMapping("/getTaskStatus/{scenicId}")
|
||||
public ApiResponse<Integer> getAllTaskStatus(@PathVariable("scenicId") Long scenicId) {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
|
@ -30,19 +30,19 @@ public class AppIndexController {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "首页景区列表", notes = "首页景区列表")
|
||||
@PostMapping("/scenicList")
|
||||
@IgnoreToken
|
||||
public ApiResponse<List<ScenicAppVO>> scenicList(@RequestBody ScenicIndexVO scenicIndexVO) {
|
||||
return scenicService.scenicList(scenicIndexVO);
|
||||
}
|
||||
// @ApiOperation(value = "首页景区列表", notes = "首页景区列表")
|
||||
// @PostMapping("/scenicList")
|
||||
// @IgnoreToken
|
||||
// public ApiResponse<List<ScenicAppVO>> scenicList(@RequestBody ScenicIndexVO scenicIndexVO) {
|
||||
// return scenicService.scenicList(scenicIndexVO);
|
||||
// }
|
||||
|
||||
@ApiOperation(value = "顶部状态", notes = "顶部状态")
|
||||
@GetMapping("/topState")
|
||||
@IgnoreToken
|
||||
public ApiResponse<TopStateResp> topState() {
|
||||
return scenicService.topState();
|
||||
}
|
||||
// @ApiOperation(value = "顶部状态", notes = "顶部状态")
|
||||
// @GetMapping("/topState")
|
||||
// @IgnoreToken
|
||||
// public ApiResponse<TopStateResp> topState() {
|
||||
// return scenicService.topState();
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,34 @@
|
||||
package com.ycwl.basic.controller.mobile;
|
||||
|
||||
import com.ycwl.basic.model.mobile.statistic.AppSta1VO;
|
||||
import com.ycwl.basic.model.mobile.statistic.CommonQueryReq;
|
||||
import com.ycwl.basic.service.mobile.AppStatisticsService;
|
||||
import com.ycwl.basic.utils.ApiResponse;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/11 18:08
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/api/mobile/statistics/v1")
|
||||
@Api(tags = "数据统计相关接口")
|
||||
public class AppStatisticsController {
|
||||
|
||||
@Autowired
|
||||
private AppStatisticsService statisticsService;
|
||||
|
||||
@ApiOperation("支付订单金额、预览_支付转化率、扫码_付费用户转化率")
|
||||
@PostMapping("/one")
|
||||
public ApiResponse<AppSta1VO> oneStatistics(@RequestBody CommonQueryReq query) {
|
||||
|
||||
return statisticsService.oneStatistics(query);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user