|
|
@@ -72,6 +72,8 @@ class GhsClass extends BaseClass
|
|
|
$hdMainId = $hdShopInfo['mainId'] ?? 0;
|
|
|
$hdOwnPtStyle = $hdShopInfo['ptStyle'] ?? 1;
|
|
|
|
|
|
+ $salt = stringUtil::charsShuffleLowerCase(8);
|
|
|
+
|
|
|
$data = [
|
|
|
'sjId' => $ghsSjId,
|
|
|
'shopId' => $ghsShopId,
|
|
|
@@ -95,6 +97,7 @@ class GhsClass extends BaseClass
|
|
|
'live' => $live,
|
|
|
'giveLevel' => $giveLevel,
|
|
|
'showStock' => $showStock,
|
|
|
+ 'salt' => $salt,
|
|
|
];
|
|
|
$ghs = self::addGhs($data);
|
|
|
$ghsId = $ghs['id'] ?? 0;
|
|
|
@@ -147,6 +150,7 @@ class GhsClass extends BaseClass
|
|
|
'live' => $live,
|
|
|
'level' => $level,
|
|
|
'showStock' => $showStock,
|
|
|
+ 'salt' => $salt,
|
|
|
];
|
|
|
$custom = CustomClass::addCustom($customData);
|
|
|
$customId = $custom['id'] ?? 0;
|