wugg 2 年之前
父节点
当前提交
17f25ce8e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/CatPlat.php

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

@@ -227,7 +227,7 @@ use think\App;class CatPlat extends Base{
         if($spuCode==""){
             return error_show(1005,"参数spuCode不能为空");
         }
-        $platid=  isset($post['platform_id'])&&$post['platform_id']!=""?intval($post['platform_id']) :"";
+        $platid=  isset($this->post['platform_id'])&&$this->post['platform_id']!=""?intval($this->post['platform_id']) :"";
         if($platid=="") return error_show(1005,"参数 platform_id 不能为空");
          $platform = Db::name("platform")->where(["id"=>$platid,"is_del"=>0])->find();
         if($platform==false){