wugg 2 years ago
parent
commit
6dba305c4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Purchin.php

+ 1 - 1
app/admin/controller/Purchin.php

@@ -201,7 +201,7 @@ class Purchin extends BaseController
 //            $send_way = Db::name("good_zixun")->where(["spuCode" => $cgdinfo['spuCode'], "is_del" => 0])->value('send_way');
 //            if ($send_way) $status = 4;
 //        }
-        if($sendtype==2 || $cgdinfo!=1){
+        if($sendtype==2 || $cgdinfo['order_type']!=1){
             $status=4;
         }
         $orin = [