45 lines
1.2 KiB
Java
45 lines
1.2 KiB
Java
|
|
package com.ruoyi.cms.controller;
|
||
|
|
|
||
|
|
import com.ruoyi.cms.service.AnalysisCommonService;
|
||
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||
|
|
import lombok.RequiredArgsConstructor;
|
||
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 分析通用
|
||
|
|
*
|
||
|
|
* @author 马宝龙
|
||
|
|
* @date 2026/6/25
|
||
|
|
*/
|
||
|
|
@RestController
|
||
|
|
@RequestMapping("/analysis/common")
|
||
|
|
@RequiredArgsConstructor
|
||
|
|
public class AnalysisCommonController {
|
||
|
|
|
||
|
|
private final AnalysisCommonService analysisCommonService;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询团场列表
|
||
|
|
*
|
||
|
|
* @return 团场列表
|
||
|
|
*/
|
||
|
|
@GetMapping("/areaList")
|
||
|
|
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||
|
|
public AjaxResult areaList() {
|
||
|
|
return AjaxResult.success(analysisCommonService.areaList());
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询行业列表
|
||
|
|
*
|
||
|
|
* @return 行业列表
|
||
|
|
*/
|
||
|
|
@GetMapping("/industryList")
|
||
|
|
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||
|
|
public AjaxResult industryList() {
|
||
|
|
return AjaxResult.success(analysisCommonService.industryList());
|
||
|
|
}
|
||
|
|
}
|