package com.iailab.module.data.indexdata.controller.admin;
|
|
import com.iailab.module.data.common.utils.PageUtils;
|
import com.iailab.module.data.common.utils.R;
|
import com.iailab.module.data.indexdata.service.IndexDataValueService;
|
import javax.annotation.Resource;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.util.Map;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2022年09月08日 21:53:00
|
*/
|
@RestController
|
@RequestMapping("/data/index-data/value")
|
public class IndexDataValueController {
|
|
@Resource
|
private IndexDataValueService indexDataValueService;
|
|
/**
|
* 所有数据值列表
|
*/
|
@GetMapping("/list")
|
public R list(@RequestParam Map<String, Object> params){
|
PageUtils page = indexDataValueService.queryPage(params);
|
return R.ok().put("page", page);
|
}
|
}
|