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

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

@@ -44,7 +44,7 @@ class Sale extends BaseController
         $order_type =isset($this->post['order_type']) && $this->post['order_type'] !=="" ?intval($this->post['order_type'])
             :"1";
         $sendtype =isset($this->post['sendtype']) && $this->post['sendtype'] !=="" ?intval($this->post['sendtype']):"";
-        if($sendtype==''){
+        if($sendtype===''){
             return error_show(1004,"参数sendtype不能为空");
         }
         $platform_id =isset($this->post['platform_id']) && $this->post['platform_id'] !=="" ?intval($this->post['platform_id']):"";