|
@@ -120,7 +120,7 @@ class ShopController extends BaseController
|
|
|
{
|
|
{
|
|
|
$get = Yii::$app->request->get();
|
|
$get = Yii::$app->request->get();
|
|
|
$mobile = $get['mobile'] ?? '';
|
|
$mobile = $get['mobile'] ?? '';
|
|
|
- if(empty($mobile)){
|
|
|
|
|
|
|
+ if (empty($mobile)) {
|
|
|
util::success(['has' => 0]);
|
|
util::success(['has' => 0]);
|
|
|
}
|
|
}
|
|
|
$shop = ShopClass::getByCondition(['mobile' => $mobile], true);
|
|
$shop = ShopClass::getByCondition(['mobile' => $mobile], true);
|
|
@@ -136,6 +136,10 @@ class ShopController extends BaseController
|
|
|
$shopExt = ShopExtClass::getByCondition(['shopId' => $this->shop->id], false, false, 'reachVip');
|
|
$shopExt = ShopExtClass::getByCondition(['shopId' => $this->shop->id], false, false, 'reachVip');
|
|
|
$shop = $this->shop->attributes;
|
|
$shop = $this->shop->attributes;
|
|
|
$shop['reachVip'] = $shopExt['reachVip'];
|
|
$shop['reachVip'] = $shopExt['reachVip'];
|
|
|
|
|
+
|
|
|
|
|
+ $shop['warning'] = '';
|
|
|
|
|
+ //$shop['warning'] = '明天凌晨1:00~2:00系统升级,暂停使用';
|
|
|
|
|
+
|
|
|
util::success($shop);
|
|
util::success($shop);
|
|
|
}
|
|
}
|
|
|
|
|
|