新增组织产品有效性的检查能力

This commit is contained in:
gaoqr
2025-09-24 09:36:24 +08:00
parent 6e365e77aa
commit c070584159
22 changed files with 174 additions and 15 deletions
@@ -43,4 +43,7 @@ public class OAuth2AccessTokenCheckRespDTO implements Serializable {
@Schema(description = "灰度默认版本号", example = "1")
private String grayDefaultVersion;
@Schema(description = "产品id", example = "1")
private Long productId;
}
@@ -53,5 +53,9 @@ public interface OrganApi {
@Operation(summary = "根据组织名称获取组织的信息")
CommonResult<List<OrganizationDTO>> getOrganDetailsByName(@RequestParam("organName") String organName);
@GetMapping(PREFIX + "/valid/product")
@Operation(summary = "校验组织产品是否有效")
@Parameter(name = "organId", description = "组织编号", required = true, example = "1024")
@Parameter(name = "productId", description = "产品编号", required = true, example = "1024")
CommonResult<Boolean> validOrganProduct(@RequestParam("organId") Long organId, @RequestParam("id") Long productId);
}