panlumeng 3 years ago
parent
commit
22242ec7b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Platform.php

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

@@ -22,7 +22,7 @@ class Platform extends BaseController
 
         }
         $platform_type = isset($this->post['platform_type']) && $this->post['platform_type'] !=="" ? intval($this->post['platform_type']):"";
-        if($platform_type==""){
+        if($platform_type===""){
             return error_show(1002,"参数platform_type不能为空");
         }
         $token = isset($this->post['token'])&& $this->post['token']!='' ? trim($this->post['token']):"";