1
2
3
4
5
6
7
8
9
10
11
12
13
14
package cn.flightfeather.supervision.lightshare.web
 
import cn.flightfeather.supervision.lightshare.service.UserMapService
import io.swagger.annotations.Api
import org.springframework.web.bind.annotation.*
 
@Api(tags = ["VersionController"], description = "用户id对应API接口")
@RestController
@RequestMapping("/usermap")
class UserMapController(val userMapService: UserMapService) {
 
    @GetMapping
    fun getTZId(@RequestParam("sceneId") sceneId: String) = userMapService.getTZIdBySceneId(sceneId)
}