|
@@ -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){
|