feiyu02
2022-07-20 39e208b6b0482a25c77e53590087c02d9d937563
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()
}