changelog: 2a614e2 - fix: 评价管理显示用户昵称——通过Feign调用user-service获取

这个提交包含在:
API Changelog Bot 2026-03-17 15:39:53 +08:00
父节点 a143a75ba8
当前提交 6d11b66302
共有 4 个文件被更改,包括 1475 次插入677 次删除

文件差异内容过多而无法显示 加载差异

查看文件

@ -6560,6 +6560,399 @@
"deprecated": false,
"x-order": "2147483647"
}
},
"/admin/order/customize/page": {
"get": {
"tags": [
"私人定制管理"
],
"summary": "定制请求列表",
"description": "分页查询定制请求,支持关键词搜索、状态筛选、定制师筛选\n\n【关联字典】\n- 筛选参数 status → 字典customize_request_status定制请求状态\n- 返回字段 status → 字典customize_request_status定制请求状态\n- 返回字段 travelPurpose → 字典travel_purpose旅游目的\n- 返回字段 requestType → 字典customize_request_type需求类型\n- 返回字段 budget → 字典customize_budget预算范围",
"operationId": "pageUsingGET",
"produces": [
"*/*"
],
"parameters": [
{
"name": "designerId",
"in": "query",
"description": "定制师ID",
"required": false,
"type": "integer",
"format": "int64",
"x-example": 1234567890
},
{
"name": "keyword",
"in": "query",
"description": "搜索关键词(联系人/目标地区/需求描述)",
"required": false,
"type": "string",
"x-example": "云南"
},
{
"name": "page",
"in": "query",
"description": "页码",
"required": false,
"type": "integer",
"format": "int32",
"x-example": 1
},
{
"name": "pageSize",
"in": "query",
"description": "每页条数",
"required": false,
"type": "integer",
"format": "int32",
"x-example": 20
},
{
"name": "sortBy",
"in": "query",
"description": "排序字段createTime/startDate",
"required": false,
"type": "string",
"x-example": "createTime"
},
{
"name": "sortDir",
"in": "query",
"description": "排序方向desc/asc",
"required": false,
"type": "string",
"x-example": "desc"
},
{
"name": "status",
"in": "query",
"description": "状态字典customize_request_status",
"required": false,
"type": "string",
"x-example": "PENDING"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«分页结果«定制请求列表VO»»",
"originalRef": "统一响应结果«分页结果«定制请求列表VO»»"
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"responsesObject": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«分页结果«定制请求列表VO»»",
"originalRef": "统一响应结果«分页结果«定制请求列表VO»»"
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"deprecated": false,
"x-order": "2147483647"
}
},
"/admin/order/customize/{requestId}": {
"get": {
"tags": [
"私人定制管理"
],
"summary": "定制请求详情",
"description": "查看定制请求完整信息\n\n【关联字典】\n- 返回字段 status → 字典customize_request_status定制请求状态\n- 返回字段 travelPurpose → 字典travel_purpose旅游目的\n- 返回字段 requestType → 字典customize_request_type需求类型\n- 返回字段 budget → 字典customize_budget预算范围",
"operationId": "detailUsingGET_2",
"produces": [
"*/*"
],
"parameters": [
{
"name": "requestId",
"in": "path",
"description": "定制请求ID",
"required": false,
"type": "integer",
"format": "int64"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"responsesObject": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"deprecated": false,
"x-order": "2147483647"
}
},
"/admin/order/customize/{requestId}/accept": {
"put": {
"tags": [
"私人定制管理"
],
"summary": "接受定制请求",
"description": "定制师接受定制请求,状态从待处理变为已接受。如果用户未指定定制师,系统将自动分配当前操作人为定制师",
"operationId": "acceptUsingPUT",
"consumes": [
"application/json"
],
"produces": [
"*/*"
],
"parameters": [
{
"name": "requestId",
"in": "path",
"description": "定制请求ID",
"required": false,
"type": "integer",
"format": "int64"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"responsesObject": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"deprecated": false,
"x-order": "2147483647"
}
},
"/admin/order/customize/{requestId}/complete": {
"put": {
"tags": [
"私人定制管理"
],
"summary": "标记完成",
"description": "将已报价的定制请求标记为已完成(用户已确认方案或已下单)",
"operationId": "completeUsingPUT",
"consumes": [
"application/json"
],
"produces": [
"*/*"
],
"parameters": [
{
"name": "requestId",
"in": "path",
"description": "定制请求ID",
"required": false,
"type": "integer",
"format": "int64"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"responsesObject": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"deprecated": false,
"x-order": "2147483647"
}
},
"/admin/order/customize/{requestId}/reply": {
"put": {
"tags": [
"私人定制管理"
],
"summary": "回复/报价",
"description": "定制师回复定制请求或提交报价方案。\n- 仅填写回复内容:状态变为「设计中」\n- 同时关联产品ID状态变为「已报价」\n\n只有已接受或设计中状态可以回复",
"operationId": "replyUsingPUT",
"consumes": [
"application/json"
],
"produces": [
"*/*"
],
"parameters": [
{
"name": "requestId",
"in": "path",
"description": "定制请求ID",
"required": false,
"type": "integer",
"format": "int64"
},
{
"in": "body",
"name": "replyRequest",
"description": "replyRequest",
"required": true,
"schema": {
"$ref": "#/definitions/定制师回复/报价请求",
"originalRef": "定制师回复/报价请求"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"responsesObject": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/统一响应结果«定制请求详情VO»",
"originalRef": "统一响应结果«定制请求详情VO»"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"deprecated": false,
"x-order": "2147483647"
}
}
},
"definitions": {
@ -8028,6 +8421,21 @@
"type": "string",
"description": "计划名称"
},
"productIds": {
"type": "array",
"description": "适用产品ID列表空表示适用全部CORE/GROUP产品",
"items": {
"type": "integer",
"format": "int64"
}
},
"productNames": {
"type": "array",
"description": "适用产品名称列表(空表示适用全部)",
"items": {
"type": "string"
}
},
"remark": {
"type": "string",
"description": "备注"
@ -8077,6 +8485,18 @@
"example": "五一早鸟优惠",
"description": "计划名称"
},
"productIds": {
"type": "array",
"example": [
"1760000000000001",
"1760000000000002"
],
"description": "适用产品ID列表仅CORE/GROUP类型,为空或null表示适用全部核心产品和小蒙马",
"items": {
"type": "integer",
"format": "int64"
}
},
"remark": {
"type": "string",
"example": "仅限新用户",
@ -10207,6 +10627,289 @@
}
},
"title": "退款规则项"
},
"分页结果«定制请求列表VO»": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "当前页码"
},
"pageSize": {
"type": "integer",
"format": "int32",
"example": 20,
"description": "每页条数"
},
"records": {
"type": "array",
"description": "数据列表",
"items": {
"$ref": "#/definitions/定制请求列表VO",
"originalRef": "定制请求列表VO"
}
},
"total": {
"type": "integer",
"format": "int32",
"example": 100,
"description": "总记录数"
}
},
"title": "分页结果«定制请求列表VO»"
},
"定制师回复/报价请求": {
"type": "object",
"required": [
"reply"
],
"properties": {
"productId": {
"type": "integer",
"format": "int64",
"example": 1234567890,
"description": "关联产品ID定制产品已创建时传入"
},
"reply": {
"type": "string",
"example": "已为您设计3天2晚大理深度游方案",
"description": "回复内容"
}
},
"title": "定制师回复/报价请求"
},
"定制请求列表VO": {
"type": "object",
"properties": {
"adultCount": {
"type": "integer",
"format": "int32",
"description": "成人数"
},
"budget": {
"type": "string",
"description": "预算范围字典customize_budget"
},
"childCount": {
"type": "integer",
"format": "int32",
"description": "儿童数"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"days": {
"type": "integer",
"format": "int32",
"description": "期望天数"
},
"designerAvatar": {
"type": "string",
"description": "定制师头像"
},
"designerName": {
"type": "string",
"description": "定制师姓名"
},
"destination": {
"type": "string",
"description": "目标地区"
},
"requestId": {
"type": "integer",
"format": "int64",
"description": "请求ID"
},
"requestType": {
"type": "string",
"description": "需求类型字典customize_request_type"
},
"startDate": {
"type": "string",
"format": "date",
"description": "期望出发日期"
},
"status": {
"type": "string",
"description": "状态字典customize_request_status"
},
"statusLabel": {
"type": "string",
"description": "状态标签"
},
"travelPurpose": {
"type": "string",
"description": "旅游目的字典travel_purpose"
},
"userId": {
"type": "integer",
"format": "int64",
"description": "用户ID"
}
},
"title": "定制请求列表VO"
},
"定制请求详情VO": {
"type": "object",
"properties": {
"adultCount": {
"type": "integer",
"format": "int32",
"description": "成人数"
},
"budget": {
"type": "string",
"description": "预算范围字典customize_budget"
},
"childCount": {
"type": "integer",
"format": "int32",
"description": "儿童数"
},
"contactName": {
"type": "string",
"description": "联系人"
},
"contactPhone": {
"type": "string",
"description": "联系电话"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"days": {
"type": "integer",
"format": "int32",
"description": "期望天数"
},
"designerAvatar": {
"type": "string",
"description": "定制师头像"
},
"designerId": {
"type": "integer",
"format": "int64",
"description": "指定定制师ID"
},
"designerName": {
"type": "string",
"description": "定制师姓名"
},
"destination": {
"type": "string",
"description": "目标地区"
},
"endDate": {
"type": "string",
"format": "date",
"description": "期望结束日期"
},
"productId": {
"type": "integer",
"format": "int64",
"description": "关联产品ID"
},
"repliedAt": {
"type": "string",
"format": "date-time",
"description": "回复时间"
},
"reply": {
"type": "string",
"description": "定制师回复"
},
"requestId": {
"type": "integer",
"format": "int64",
"description": "请求ID"
},
"requestType": {
"type": "string",
"description": "需求类型字典customize_request_type"
},
"requirements": {
"type": "string",
"description": "详细需求描述"
},
"startDate": {
"type": "string",
"format": "date",
"description": "期望出发日期"
},
"status": {
"type": "string",
"description": "状态字典customize_request_status"
},
"statusLabel": {
"type": "string",
"description": "状态标签"
},
"travelPurpose": {
"type": "string",
"description": "旅游目的字典travel_purpose"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"userId": {
"type": "integer",
"format": "int64",
"description": "用户ID"
}
},
"title": "定制请求详情VO"
},
"统一响应结果«分页结果«定制请求列表VO»»": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"example": 200,
"description": "状态码"
},
"data": {
"description": "响应数据",
"$ref": "#/definitions/分页结果«定制请求列表VO»",
"originalRef": "分页结果«定制请求列表VO»"
},
"message": {
"type": "string",
"example": "成功",
"description": "响应消息"
}
},
"title": "统一响应结果«分页结果«定制请求列表VO»»"
},
"统一响应结果«定制请求详情VO»": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"example": 200,
"description": "状态码"
},
"data": {
"description": "响应数据",
"$ref": "#/definitions/定制请求详情VO",
"originalRef": "定制请求详情VO"
},
"message": {
"type": "string",
"example": "成功",
"description": "响应消息"
}
},
"title": "统一响应结果«定制请求详情VO»"
}
}
}

查看文件

@ -150,8 +150,8 @@
"tags": [
"行政区划搜索"
],
"summary": "搜索行政区划(城市/区县",
"description": "通过高德地图 API 搜索行政区划,用于产品的出发城市和目的地城市选择。\n输入关键词如\"丽江\"、\"昆明\"),返回匹配的城市/区县列表,包含行政区划编码。\n\n**关联字典**\n- cities城市搜索结果可用于产品行程中的城市预览\n- city城市筛选搜索结果可用于资源面板城市筛选",
"summary": "搜索行政区划(城市/区县/镇",
"description": "通过高德地图 API 搜索行政区划,用于产品的出发城市和目的地城市选择。\n输入关键词如\"丽江\"、\"黑山头\"),返回匹配的城市/区县/镇列表,包含行政区划编码。\n\n**关联字典**\n- cities城市搜索结果可用于产品行程中的城市预览\n- city城市筛选搜索结果可用于资源面板城市筛选",
"operationId": "searchUsingGET",
"produces": [
"*/*"
@ -13319,17 +13319,21 @@
"type": "string",
"description": "行政区编码"
},
"fullPath": {
"type": "string",
"description": "全路径(省/市/区/镇,用于显示区分重名)"
},
"level": {
"type": "string",
"description": "级别: city/district"
"description": "级别: city/district/street"
},
"levelName": {
"type": "string",
"description": "级别中文名"
"description": "级别中文名: 市/区/县/镇/乡/街道"
},
"name": {
"type": "string",
"description": "行政区名称"
"description": "行政区名称(最后一级,用于保存)"
}
},
"title": "行政区划搜索结果"

查看文件

@ -0,0 +1,17 @@
# 接口变更记录 — 2026-03-17 15:39
> **提交** `2a614e2` · **作者** wx · **时间** 2026-03-17 15:39:53 +0800
>
> fix: 评价管理显示用户昵称——通过Feign调用user-service获取
<details>
<summary>📁 全部变更文件 (点击展开)</summary>
```
M hl-review-service/src/main/java/com/hulalv/review/ReviewServiceApplication.java
A hl-review-service/src/main/java/com/hulalv/review/feign/UserReviewFeignClient.java
A hl-review-service/src/main/java/com/hulalv/review/feign/UserReviewFeignFallbackFactory.java
M hl-review-service/src/main/java/com/hulalv/review/service/ReviewService.java
M hl-review-service/src/test/java/com/hulalv/review/service/ReviewServiceTest.java
```
</details>