wugg 2 years ago
parent
commit
10924d78f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Sale.php

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

@@ -367,7 +367,7 @@ class Sale extends Base
                                         "check_num" => 0,
                                         "error_num" => 0,
                                         "wsm_code" => $cgdinfo['wsm_code'],
-                                        "order_type" =>$is_stock=1 ?1 :2,
+                                        "order_type" =>$is_stock==1 ?1 :2,
                                         "status" => $is_stock==1?1:0,
                                         "addtime" => date("Y-m-d H:i:s"),
                                         "updatetime" => date("Y-m-d H:i:s")