panlumeng 2 years ago
parent
commit
c43afc41a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Platform.php

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

@@ -104,7 +104,7 @@ class Platform extends BaseController
             return error_show(1002, "参数platform_name不能为空");
         }
         $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']) : "";