package cn.flightfeather.supervision.lightshare.web
|
|
import cn.flightfeather.supervision.lightshare.service.ChangeEffectService
|
import io.swagger.annotations.Api
|
import org.springframework.web.bind.annotation.GetMapping
|
import org.springframework.web.bind.annotation.RequestMapping
|
import org.springframework.web.bind.annotation.RestController
|
|
@Api(tags = ["ChangeEffectController"], description = "整改效果API接口")
|
@RestController
|
@RequestMapping("/changeeffect")
|
class ChangeEffectController(val changeEffectService: ChangeEffectService) {
|
|
@GetMapping
|
fun getAll() = changeEffectService.findAll()
|
}
|