From 2adb12e9b91ce42a044e12ed4303b327f7e6ffd6 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 30 八月 2024 10:22:41 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/TOrderAppealController.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/TOrderAppealController.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/TOrderAppealController.java
index b2ddb1d..2bbba87 100644
--- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/TOrderAppealController.java
+++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/TOrderAppealController.java
@@ -73,8 +73,7 @@
     @ApiOperation(tags = {"小程序-订单申诉"},value = "查询订单申诉分页列表")
     @PostMapping(value = "/pageList")
     public AjaxResult<PageInfo<TOrderAppealVO>> pageList(@RequestBody TOrderAppealQuery query) {
-        // TODO 用户id 获取小程序当前登录用户id
-        Long userId = tokenService.getLoginUser().getUserid();
+        Long userId = tokenService.getLoginUserApplet().getUserId();
         query.setAppUserId(userId);
         return AjaxResult.ok(orderAppealService.pageList(query));
     }

--
Gitblit v1.7.1