mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
新增组织产品有效性的检查能力
This commit is contained in:
+3
@@ -43,4 +43,7 @@ public class OAuth2AccessTokenCheckRespDTO implements Serializable {
|
||||
|
||||
@Schema(description = "灰度默认版本号", example = "1")
|
||||
private String grayDefaultVersion;
|
||||
|
||||
@Schema(description = "产品id", example = "1")
|
||||
private Long productId;
|
||||
}
|
||||
|
||||
+5
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user