|
|
@@ -164,6 +164,9 @@ class MainController extends BaseController
|
|
|
$txBalance = $main->txBalance ?? 0.00;
|
|
|
$sj = isset($this->sj) && !empty($this->sj) ? $this->sj->attributes : [];
|
|
|
$shopImg = Yii::$app->params['hdImgHost'] . 'retail/default-img.png';
|
|
|
+ if (isset($shop->avatar) && !empty($shop->avatar)) {
|
|
|
+ $shopImg = Yii::$app->params['ghsImgHost'] . $shop->avatar;
|
|
|
+ }
|
|
|
$deadline = $sj['deadline'] ?? '';
|
|
|
$relation = isset($this->shopAdmin) && !empty($this->shopAdmin) ? $this->shopAdmin->attributes : [];
|
|
|
$adminName = $relation['name'] ?? '';
|