shizhongqi 1 день назад
Родитель
Сommit
97a96588da
1 измененных файлов с 4 добавлено и 2 удалено
  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);
         $mainId = intval($this->mainId);
         $shopId = intval($this->shopId);
         $shopId = intval($this->shopId);
+        Yii::info('shopId: ' . $shopId);
+        Yii::info('mainId: ' . $mainId);
         if ($shopId <= 0) {
         if ($shopId <= 0) {
-            Yii::info('shopId: ' . $shopId);
+            Yii::info('shopId不存在: ' . $shopId);
         }
         }
         if ($mainId <= 0) {
         if ($mainId <= 0) {
-            Yii::info('mainId: ' . $mainId);
+            Yii::info('mainId不存在: ' . $mainId);
             // $hd = HdClass::getByCondition(['shopId'=>$this->shopId, 'userId'=>$this->userId]);
             // $hd = HdClass::getByCondition(['shopId'=>$this->shopId, 'userId'=>$this->userId]);
             if (empty($hd)) {
             if (empty($hd)) {
                 // 客户不存在
                 // 客户不存在