|
|
@@ -48,6 +48,7 @@ class GhsClass extends BaseClass
|
|
|
$ghsShop = ShopClass::getShopInfo($ghsShopId);
|
|
|
$ghsSjId = $ghsShop['sjId'] ?? 0;
|
|
|
$ghsMainId = $ghsShop['mainId'] ?? 0;
|
|
|
+ $ghsOwnPtStyle = $ghsShop['ptStyle'] ?? 1;
|
|
|
$ghsAvatar = $ghsShop['shortAvatar'] ?? '';
|
|
|
$ghsDefault = $ghsShop['default'] ?? 0;
|
|
|
$allowDebt = $ghsShop['allowDebt'] ?? 0;
|
|
|
@@ -61,6 +62,7 @@ class GhsClass extends BaseClass
|
|
|
$hdShopInfo = ShopClass::getShopInfo($hdShopId);
|
|
|
$hdSjId = $hdShopInfo['sjId'] ?? 0;
|
|
|
$hdMainId = $hdShopInfo['mainId'] ?? 0;
|
|
|
+ $hdOwnPtStyle = $hdShopInfo['ptStyle'] ?? 1;
|
|
|
|
|
|
$data = [
|
|
|
'sjId' => $ghsSjId,
|
|
|
@@ -69,6 +71,7 @@ class GhsClass extends BaseClass
|
|
|
'ownSjId' => $hdSjId,
|
|
|
'ownShopId' => $hdShopId,
|
|
|
'ownMainId' => $hdMainId,
|
|
|
+ 'ownPtStyle' => $hdOwnPtStyle,
|
|
|
'name' => $name,
|
|
|
'py' => $py,
|
|
|
'avatar' => $ghsAvatar,
|
|
|
@@ -116,6 +119,7 @@ class GhsClass extends BaseClass
|
|
|
'ownSjId' => $ghsSjId,
|
|
|
'ownShopId' => $ghsShopId,
|
|
|
'ownMainId' => $ghsMainId,
|
|
|
+ 'ownPtStyle' => $ghsOwnPtStyle,
|
|
|
'name' => $firstName,
|
|
|
'originName' => $secondName,
|
|
|
'py' => $py,
|