Quellcode durchsuchen

默认员工信息添加

sorry vor 5 Jahren
Ursprung
Commit
75843e3d9f
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      biz/shop/classes/ShopAdminClass.php

+ 6 - 0
biz/shop/classes/ShopAdminClass.php

@@ -106,6 +106,9 @@ class ShopAdminClass extends BaseClass
     //切换门店时增加员工关系 ssh 2021.3.1
     public static function changeShopAddRelate($originShopAdmin, $toggleShopId)
     {
+        $name = $originShopAdmin['name'];
+        $mobile = $originShopAdmin['mobile'];
+        $avatar = $originShopAdmin['avatar'];
         $adminId = $originShopAdmin['adminId'];
         $roleId = $originShopAdmin['roleId'];
         $sjId = $originShopAdmin['merchantId'];
@@ -115,6 +118,9 @@ class ShopAdminClass extends BaseClass
             return $has;
         }
         $data = [
+            'name' => $name,
+            'mobile' => $mobile,
+            'avatar' => $avatar,
             'roleId' => $roleId,
             'adminId' => $adminId,
             'shopId' => $toggleShopId,