diff --git a/CoreCms.Net.Web.WebApi/Controllers/SQController.cs b/CoreCms.Net.Web.WebApi/Controllers/SQController.cs
index 4872c99..2bb24c5 100644
--- a/CoreCms.Net.Web.WebApi/Controllers/SQController.cs
+++ b/CoreCms.Net.Web.WebApi/Controllers/SQController.cs
@@ -349,6 +349,33 @@ ISQReservationReputationServices sQReservationReputationServices
Msg = "ok",
};
}
+
+ ///
+ /// 获取评价我的记录
+ ///
+ /// 页码
+ /// 每页数量
+ ///
+ [HttpGet]
+ [Authorize]
+ public async Task GetEvaluateToMe([FromQuery] int pageIndex = 1, [FromQuery] int pageSize = 20)
+ {
+ var userId = _user.ID;
+ var list = await _sQReservationEvaluateServices.QueryPageAsync(
+ it => it.to_user_id == userId,
+ it => it.created_at,
+ OrderByType.Desc,
+ pageIndex,
+ pageSize,
+ true
+ );
+ return new WebApiDto()
+ {
+ Code = 0,
+ Data = list,
+ Msg = "ok"
+ };
+ }
diff --git a/CoreCms.Net.Web.WebApi/Doc.xml b/CoreCms.Net.Web.WebApi/Doc.xml
index e06bf75..546cd26 100644
--- a/CoreCms.Net.Web.WebApi/Doc.xml
+++ b/CoreCms.Net.Web.WebApi/Doc.xml
@@ -762,7 +762,7 @@
预约接口
-
+
构造函数
@@ -799,11 +799,27 @@
-
+ 评价用户
+
+
+ 获取我的声誉记录
+
+
+
+
+
+
+
+ 获取评价我的记录
+
+ 页码
+ 每页数量
+
+
门店调用接口数据