package com.ruoyi.platform.controller.labelStudio;

import com.ruoyi.common.core.web.controller.BaseController;
import com.ruoyi.common.core.web.domain.GenericsAjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/labelStudio")
@Api("labelStudio service")
public class labelStudioController extends BaseController {
    @Value("${labelStudio.url}")
    private String url;
    @GetMapping(value = "/getURL")
    @ApiOperation("得到访问地址")
    public GenericsAjaxResult<String> getURL() {
        return genericsSuccess(url);
    }
}
