Ver Fonte

删除员工bug修复

林琦海 há 5 anos atrás
pai
commit
b486270f62
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      biz-ghs/shop/classes/ShopAdminClass.php

+ 2 - 2
biz-ghs/shop/classes/ShopAdminClass.php

@@ -95,7 +95,7 @@ class ShopAdminClass extends BaseClass
     {
         $id = $relation['id'];
         $shopId = $relation['shopId'];
-        $adminId = $relation['admin'];
+        $adminId = $relation['adminId'];
         $admin = AdminClass::getById($adminId);
         self::updateById($id, ['delStatus' => 1]);
         if ($admin['currentShopId'] == $shopId) {
@@ -107,4 +107,4 @@ class ShopAdminClass extends BaseClass
         }
     }
 
-}
+}