|
|
@@ -46,7 +46,7 @@ class GhsClass extends BaseClass
|
|
|
$ghsShop = ShopClass::getShopInfo($ghsShopId);
|
|
|
$ghsSjId = $ghsShop['sjId'] ?? 0;
|
|
|
$ghsMainId = $ghsShop['mainId'] ?? 0;
|
|
|
- $ghsAvatar = $ghsShop['avatar'] ?? '';
|
|
|
+ $ghsAvatar = $ghsShop['shortAvatar'] ?? '';
|
|
|
$ghsDefault = $ghsShop['default'] ?? 0;
|
|
|
$name = $ghsDefault == 1 ? $ghsShop['merchantName'] : $ghsShop['merchantName'] . ' ' . $ghsShop['shopName'];
|
|
|
$py = stringUtil::py($name);
|
|
|
@@ -77,6 +77,7 @@ class GhsClass extends BaseClass
|
|
|
$ghs = self::addGhs($data);
|
|
|
$ghsId = $ghs['id'] ?? 0;
|
|
|
$shop = ShopClass::getShopInfo($hdShopId);
|
|
|
+ $hdAvatar = $shop['shortAvatar'] ?? '';
|
|
|
$default = $shop['default'] ?? 0;
|
|
|
$name = $default == 1 ? $shop['merchantName'] : $shop['merchantName'] . ' ' . $shop['shopName'];
|
|
|
|
|
|
@@ -107,6 +108,7 @@ class GhsClass extends BaseClass
|
|
|
'name' => $firstName,
|
|
|
'originName' => $secondName,
|
|
|
'py' => $py,
|
|
|
+ 'avatar' => $hdAvatar,
|
|
|
'mobile' => $mobile,
|
|
|
'province' => $shop['province'] ?? '',
|
|
|
'city' => $shop['city'] ?? '',
|