diff --git a/backend/app/Controller/Api/V1/RawRefundItemController.php b/backend/app/Controller/Api/V1/RawRefundItemController.php index 71e50e5..5661192 100644 --- a/backend/app/Controller/Api/V1/RawRefundItemController.php +++ b/backend/app/Controller/Api/V1/RawRefundItemController.php @@ -63,6 +63,7 @@ class RawRefundItemController extends RefundItemController new OA\Parameter(name: 'refund_type_id', in: 'query', required: false, description: '退款类型 ID 精确筛选', schema: new OA\Schema(type: 'integer')), new OA\Parameter(name: 'platform_refund_id', in: 'query', required: false, description: '平台退款子项 ID 精确搜索', schema: new OA\Schema(type: 'string')), new OA\Parameter(name: 'platform_order_id', in: 'query', required: false, description: '关联平台订单 ID 筛选', schema: new OA\Schema(type: 'string')), + new OA\Parameter(name: 'platform_product_id', in: 'query', required: false, description: '平台商品 ID 精确筛选', schema: new OA\Schema(type: 'string')), new OA\Parameter(name: 'created_date_from', in: 'query', required: false, description: '创建时间起始(含)', schema: new OA\Schema(type: 'string', format: 'date')), new OA\Parameter(name: 'created_date_to', in: 'query', required: false, description: '创建时间截止(含)', schema: new OA\Schema(type: 'string', format: 'date')), ], diff --git a/backend/app/Controller/Api/V1/RefundItemController.php b/backend/app/Controller/Api/V1/RefundItemController.php index 77ee427..af6725a 100644 --- a/backend/app/Controller/Api/V1/RefundItemController.php +++ b/backend/app/Controller/Api/V1/RefundItemController.php @@ -66,6 +66,7 @@ class RefundItemController extends AbstractDataController 'refund_type_id' => 'exact', 'platform_refund_id' => 'exact', 'platform_order_id' => 'exact', + 'platform_product_id' => 'exact', 'created_date_from' => 'date_from', 'created_date_to' => 'date_to', ]; @@ -96,6 +97,7 @@ class RefundItemController extends AbstractDataController new OA\Parameter(name: 'refund_type_id', in: 'query', required: false, description: '退款类型 ID 精确筛选(1=仅退款 2=退货退款 3=补偿退款)', schema: new OA\Schema(type: 'integer')), new OA\Parameter(name: 'platform_refund_id', in: 'query', required: false, description: '平台退款子项 ID 精确搜索', schema: new OA\Schema(type: 'string')), new OA\Parameter(name: 'platform_order_id', in: 'query', required: false, description: '关联平台订单 ID 筛选', schema: new OA\Schema(type: 'string')), + new OA\Parameter(name: 'platform_product_id', in: 'query', required: false, description: '平台商品 ID 精确筛选', schema: new OA\Schema(type: 'string')), new OA\Parameter(name: 'created_date_from', in: 'query', required: false, description: '创建时间起始(含)', schema: new OA\Schema(type: 'string', format: 'date', example: '2026-01-01')), new OA\Parameter(name: 'created_date_to', in: 'query', required: false, description: '创建时间截止(含)', schema: new OA\Schema(type: 'string', format: 'date', example: '2026-12-31')), ],