wugg 2 yıl önce
ebeveyn
işleme
786506408b
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      app/admin/controller/Goodup.php

+ 3 - 0
app/admin/controller/Goodup.php

@@ -269,6 +269,8 @@ class Goodup extends Base
         if($market_price===""){
             return error_show(1004,"参数market_price不能为空");
         }
+        $nake_price = isset($this->post['nake_price'])&&$this->post['nake_price']!==""? floatval($this->post['nake_price']):"0";
+
         $is_step = isset($this->post['is_step'])&&$this->post['is_step']!==""? intval($this->post['is_step']):"";
         if($is_step===""){
             return error_show(1004,"参数is_step不能为空");
@@ -671,6 +673,7 @@ class Goodup extends Base
         if($market_price===""){
             return error_show(1004,"参数market_price不能为空");
         }
+        $nake_price = isset($this->post['nake_price'])&&$this->post['nake_price']!==""? floatval($this->post['nake_price']):"";
         $is_step = isset($this->post['is_step'])&&$this->post['is_step']!==""? intval($this->post['is_step']):"";
         if($is_step===""){
             return error_show(1004,"参数is_step不能为空");