|
|
@@ -235,6 +235,9 @@ class MainController extends BaseController
|
|
|
$cashAccount = $main->cashAccount ?? '';
|
|
|
$sj = isset($this->sj) && !empty($this->sj) ? $this->sj->attributes : [];
|
|
|
$shopImg = Yii::$app->params['ghsImgHost'] . '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'] ?? '';
|