shish 4 лет назад
Родитель
Сommit
e0e0d15b09

+ 2 - 0
biz-ghs/merchant/services/MerchantService.php

@@ -33,6 +33,7 @@ class MerchantService extends BaseService
     public static function initGhsBaseInfo($applyData, $main, $applyThis = false)
     {
         $applyId = $applyData['id'] ?? 0;
+        $adminId = $applyData['adminId'] ?? 0;
         $mainId = $main->id ?? 0;
         unset($applyData['id']);
 
@@ -119,6 +120,7 @@ class MerchantService extends BaseService
             'telephone' => $mobile,
             'default' => 1,
             'mainId' => $mainId,
+            'adminId' => $adminId,
             'parentId' => $applyData['introSjId'] ?? 0,
             'parentShopId' => $applyData['introShopId'] ?? 0,
             'mobile' => $mobile,

+ 2 - 0
biz-hd/merchant/services/SjService.php

@@ -23,6 +23,7 @@ class SjService extends BaseService
     public static function initHdBaseInfo($applyData, $main, $applyThis = false)
     {
         $applyId = $applyData['id'] ?? 0;
+        $adminId = $applyData['adminId'] ?? 0;
         $mainId = $main->id ?? 0;
         unset($applyData['id']);
         $ptStyle = dict::getDict('ptStyle', 'hd');
@@ -106,6 +107,7 @@ class SjService extends BaseService
             'merchantName' => $sjName,
             'telephone' => $mobile,
             'default' => 1,
+            'adminId' => $adminId,
             'mainId' => $mainId,
             'parentId' => $applyData['introSjId'] ?? 0,
             'parentShopId' => $applyData['introShopId'] ?? 0,

+ 2 - 0
biz-jd/sj/services/SjService.php

@@ -22,6 +22,7 @@ class SjService extends BaseService
     public static function initJdGhsBaseInfo($applyData, $main, $applyThis = false)
     {
         $applyId = $applyData['id'] ?? 0;
+        $adminId = $applyData['adminId'] ?? 0;
         $mainId = $main->id ?? 0;
         unset($applyData['id']);
 
@@ -106,6 +107,7 @@ class SjService extends BaseService
             'telephone' => $mobile,
             'default' => 1,
             'mainId' => $mainId,
+            'adminId' => $adminId,
             'parentId' => $applyData['introSjId'] ?? 0,
             'parentShopId' => $applyData['introShopId'] ?? 0,
             'mobile' => $mobile,