# 接口变更记录 — 2026-03-31 17:31

> **提交** `79fd9542` · **作者** wx · **时间** 2026-03-31 17:31:59 +0800
>
> feat: 保险方案/合同方案删除和禁用增加产品引用校验

## 变更总览

- **产品服务**
  - InternalProduct (+1)

---

## 产品服务

### InternalProduct

> 📖 **接口文档**: [http://192.168.100.236:8085/doc.html](http://192.168.100.236:8085/doc.html) → 标签 **「【内部接口】产品（Feign调用）」**

### 🆕 `GET` /internal/product/scheme-in-use — 检查方案是否被活跃产品使用

> 内部服务间调用，供 order-service 删除/禁用保险方案或合同方案前校验。

**参数**

  - `schemeType` (`String`) — 查询参数
  - `schemeId` (`Long`) — 查询参数

**响应** `Result<List<String>>`

---

<details>
<summary>📁 全部变更文件 (点击展开)</summary>

```
M	hl-order-service/src/main/java/com/hulalv/contract/service/ContractSchemeService.java
M	hl-order-service/src/main/java/com/hulalv/insurance/service/InsuranceSchemeService.java
M	hl-order-service/src/main/java/com/hulalv/order/feign/ProductFeignClient.java
M	hl-order-service/src/main/java/com/hulalv/order/feign/ProductFeignFallbackFactory.java
M	hl-order-service/src/test/java/com/hulalv/contract/service/ContractSchemeServiceTest.java
M	hl-order-service/src/test/java/com/hulalv/insurance/service/InsuranceSchemeServiceTest.java
M	hl-product-service/src/main/java/com/hulalv/product/controller/InternalProductController.java
M	hl-product-service/src/test/java/com/hulalv/product/controller/InternalProductControllerTest.java
```
</details>