wugg před 11 měsíci
rodič
revize
5793f436c0
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      app/admin/controller/Consult.php

+ 3 - 3
app/admin/controller/Consult.php

@@ -841,7 +841,7 @@ class Consult extends Base
             "infoNo"=>$infoNo,
             "zxNo"=>$zxinfo['zxNo'],
             "spuCode"=>$spucode,
-            "good_name"=>$pname,
+            "good_name"=>$good_name,
             "brand_id"=>$brandid,
             "cat_id"=>$cat_id,
             "specinfo"=>json_encode($specinfo),
@@ -1094,9 +1094,9 @@ class Consult extends Base
         if($zx==false){
             return error_show(1003,"未找咨询信息数据");
         }
-        $pname = isset($this->post['pname'])&&$this->post['pname']!=""? trim($this->post['pname']):"";
+        $pname = isset($this->post['good_name'])&&$this->post['good_name']!=""? trim($this->post['good_name']):"";
         if($pname==""){
-            return error_show(1002,"参数pname不能为空");
+            return error_show(1002,"参数good_name不能为空");
         }
         $brandid = isset($this->post['brandid'])&&$this->post['brandid']!=""? intval($this->post['brandid']):"";
 //        if($brandid==""){