From 9461e45e40e36e3097a6c05b1d861253e987fa77 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 14 一月 2025 14:24:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java
index 673875d..c240a54 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java
@@ -124,6 +124,7 @@
         AppUserShop appUserShop = new AppUserShop();
         appUserShop.setAppUserId(appUser.getId());
         appUserShop.setShopId(shopId);
+        appUserShop.setRoleType(1);
         R<Void> r = appUserClient.addAppUserShop(appUserShop);
         if (R.isError(r)){
             throw new RuntimeException("添加失败");
@@ -284,6 +285,7 @@
         AppUserShop appUserShop = new AppUserShop();
         appUserShop.setAppUserId(appUser.getId());
         appUserShop.setShopId(shop.getId());
+        appUserShop.setRoleType(1);
         appUserShopClient.delAppUserShop(appUserShop);
 
         //添加新管理员
@@ -291,6 +293,7 @@
         appUserShop = new AppUserShop();
         appUserShop.setAppUserId(appUser.getId());
         appUserShop.setShopId(shop.getId());
+        appUserShop.setRoleType(1);
         appUserClient.addAppUserShop(appUserShop);
 
         //修改管理员

--
Gitblit v1.7.1