longz
2026-07-25 20de46b9228194de700c9221863d54f3841124c1
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/PartnerController.java
@@ -88,6 +88,13 @@
      }
      return AjaxResult.success(result);
   }
   @GetMapping("/app/current")
   @ApiOperation(value = "获取当前小程序用户绑定的合作商", tags = {"小程序-个人中心"})
   public R<Partner> getCurrentAppUserPartner() {
      Long appUserId = tokenService.getLoginUserApplet().getUserId();
      return R.ok(partnerAppUserService.getPartnerByAppUserId(appUserId));
   }