# 接口变更记录 — 2026-04-07 09:19

> **提交** `4d461da5` · **作者** wx · **时间** 2026-04-07 09:19:16 +0800
>
> fix: 小程序产品线列表接口增加产品类型筛选和分页

## 变更总览

- **产品服务**
  - InternalMpProduct (改1)
- **小程序聚合服务**
  - MpProduct (改1)

---

## 产品服务

### InternalMpProduct

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

### ✏️ `GET` /internal/mp/product/lines — 产品线列表（活跃·分页）

- 接口名称: ~~产品线列表（活跃）~~ → **产品线列表（活跃·分页）**
- 返回类型: `Result<List<ProductLineVO>>` → `Result<PageResult<ProductLineVO>>`
- 参数: 无 → productType(String), page(Integer), pageSize(Integer)

---

## 小程序聚合服务

### MpProduct

> 📖 **接口文档**: [http://192.168.100.236:8086/doc.html](http://192.168.100.236:8086/doc.html) → 标签 **「C端 - 产品接口」**

### ✏️ `GET` /mp/product/lines — 产品线列表（分页）

- 接口名称: ~~产品线列表~~ → **产品线列表（分页）**
- 返回类型: `Result<List<Map<String, Object>>>` → `Result<PageResult<Map<String, Object>>>`
- 参数: 无 → productType(String), page(Integer), pageSize(Integer)

---

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

```
M	hl-mp-service/src/main/java/com/hulalv/mp/controller/MpProductController.java
M	hl-mp-service/src/main/java/com/hulalv/mp/feign/MpProductFeignClient.java
M	hl-mp-service/src/main/java/com/hulalv/mp/feign/MpProductFeignFallbackFactory.java
M	hl-mp-service/src/main/java/com/hulalv/mp/service/HomeAggregationService.java
M	hl-mp-service/src/test/java/com/hulalv/mp/controller/MpProductControllerTest.java
M	hl-mp-service/src/test/java/com/hulalv/mp/feign/FallbackFactoryTest.java
M	hl-mp-service/src/test/java/com/hulalv/mp/service/HomeAggregationServiceTest.java
M	hl-product-service/src/main/java/com/hulalv/product/controller/InternalMpProductController.java
M	hl-product-service/src/main/java/com/hulalv/product/service/ProductLineService.java
M	hl-product-service/src/test/java/com/hulalv/product/controller/InternalMpProductControllerTest.java
```
</details>