Bladeren bron

价格注释

wufeng 2 jaren geleden
bovenliggende
commit
f97deecf4e
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      app/admin/controller/Goodup.php

+ 2 - 2
app/admin/controller/Goodup.php

@@ -2997,7 +2997,7 @@ class Goodup extends Base
         $rs = Db::name('good_platform')
             ->field('id')
             ->where(['spuCode' => $spuCode, 'is_del' => 0])
-            ->whereNotIn('exam_status', [0, 8])
+            ->whereNotIn('exam_status', [0, 8])//0待提交,8已下线
             ->find();
 
         if (!empty($rs)) $is_allow_update = 0;
@@ -3005,7 +3005,7 @@ class Goodup extends Base
 
             $rs = PlatformYouzan::field('id')
                 ->where(['spuCode' => $spuCode, 'is_del' => PlatformYouzan::$del_normal])
-                ->whereNotIn('exam_status', [PlatformYouzan::$exam_status_8,PlatformYouzan::$exam_status_2])
+                ->whereNotIn('exam_status', [PlatformYouzan::$exam_status_8,PlatformYouzan::$exam_status_2])//8已下线,2审核驳回
                 ->findOrEmpty()
                 ->isEmpty();
             if (!$rs) $is_allow_update = 0;