shizhongqi 20 hours ago
parent
commit
97a96588da
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app-mall/controllers/HomePageConfigController.php

+ 4 - 2
app-mall/controllers/HomePageConfigController.php

@@ -37,11 +37,13 @@ class HomePageConfigController extends BaseController
     {
         $mainId = intval($this->mainId);
         $shopId = intval($this->shopId);
+        Yii::info('shopId: ' . $shopId);
+        Yii::info('mainId: ' . $mainId);
         if ($shopId <= 0) {
-            Yii::info('shopId: ' . $shopId);
+            Yii::info('shopId不存在: ' . $shopId);
         }
         if ($mainId <= 0) {
-            Yii::info('mainId: ' . $mainId);
+            Yii::info('mainId不存在: ' . $mainId);
             // $hd = HdClass::getByCondition(['shopId'=>$this->shopId, 'userId'=>$this->userId]);
             if (empty($hd)) {
                 // 客户不存在