mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 05:12:07 +08:00
添加查询标签数据源value接口
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
package com.cf.imes.module.system.api.dataSource;
|
||||
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.module.system.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
/**
|
||||
* @author Beal
|
||||
*/
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO 晨丰:fallbackFactory =
|
||||
@Tag(name = "RPC 服务 - 数据源")
|
||||
public interface DataSourceApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/dataSource";
|
||||
|
||||
@GetMapping(PREFIX + "/getSqlById")
|
||||
@Operation(summary = "获得数据源sql")
|
||||
CommonResult<String> getSqlById(@RequestParam(value = "id") Long id);
|
||||
}
|
||||
Reference in New Issue
Block a user