Forráskód Böngészése

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng 2 éve
szülő
commit
2d40f1060e
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      app/admin/controller/Goodup.php

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

@@ -3007,7 +3007,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;
@@ -3015,7 +3015,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;