فهرست منبع

商品下线优化

wufeng 2 سال پیش
والد
کامیت
050cffb9ed
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      app/admin/controller/Goodup.php

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

@@ -2674,13 +2674,11 @@ class Goodup extends Base
 
             $skuCodeS = Db::name("good_platform")
                 ->where(['spuCode' => $param['spuCode'], 'is_del' => 0])//exam_status 7审核失败,8已下线
-                ->where('exam_status', 'not in', [7, 8])
                 ->column('exam_status,skuCode', 'skuCode');
             if (empty($skuCodeS)) throw new \Exception('记录不存在');
 
             Db::name("good_platform")
                 ->where(['spuCode' => $param['spuCode'], 'is_del' => 0])
-                ->where('exam_status', 'not in', [7, 8])
                 ->save([
                     'exam_status' => 8,
                     'updatetime' => date('Y-m-d H:i:s'),