From 6ff2e616cd1c1e986735c5a8c1f991ab9dfe5ec4 Mon Sep 17 00:00:00 2001
From: “mitao” <“2763622819@qq.com”>
Date: 星期日, 04 一月 2026 14:32:59 +0800
Subject: [PATCH] bugfix:token失效时间延长、佣金计算问题等。

---
 ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java
index fe3e731..0a9d81a 100644
--- a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java
+++ b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java
@@ -46,7 +46,7 @@
 
     @ApiOperation("根据推广码获取上级用户信息")
     @GetMapping("/getSuperiorInfo")
-    public R<SupervisorUserVO> getSuperiorInfo(@ApiParam(name = "superiorType", value = "上级类型 1:股东;2:营销员")
+    public R<SupervisorUserVO> getSuperiorInfo(@ApiParam(name = "superiorType", value = "上级类型 1:股东;2:营销员/合伙人")
                                                @NotNull(message = "上级类型不能为空") @RequestParam Integer superiorType,
                                                @ApiParam(name = "spreadCode", value = "推广码")
                                                @NotNull(message = "推广码不能为空") @RequestParam String spreadCode) {
@@ -58,7 +58,7 @@
                 supervisorUserVO.setId(sysUser.getUserId().intValue());
                 supervisorUserVO.setPhone((String) PhoneUtil.hideBetween(sysUser.getPhonenumber()));
                 supervisorUserVO.setNickName(sysUser.getNickName());
-                supervisorUserVO.setAvatar(""); //todo 设置默认头像
+                supervisorUserVO.setAvatar(sysUser.getAvatar());
             }
         } else {
             tAppUserService.lambdaQuery().eq(TAppUser::getCode, spreadCode).ne(TAppUser::getStatus, 3).last("LIMIT 1").oneOpt()

--
Gitblit v1.7.1