| | |
| | | import com.iailab.framework.common.pojo.CommonResult; |
| | | import com.iailab.module.system.api.tenant.dto.TenantDataSourceConfigRespDTO; |
| | | import com.iailab.module.system.enums.ApiConstants; |
| | | import io.swagger.v3.oas.annotations.Parameters; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | |
| | | |
| | | @GetMapping(PREFIX + "/data-source") |
| | | @Operation(summary = "获得租户的数据源配置") |
| | | @Parameter(name = "tenantId", description = "租户编号", required = true, example = "1024") |
| | | @Parameters( |
| | | @Parameter(name = "tenantId", description = "租户编号", example = "2", required = true) |
| | | ) |
| | | TenantDataSourceConfigRespDTO getTenantDataSourceConfig(@RequestParam("tenantId") Long tenantId); |
| | | |
| | | } |