shish 2 minggu lalu
induk
melakukan
6c094881f1
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      app-hd/controllers/ShopController.php

+ 4 - 1
app-hd/controllers/ShopController.php

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