瀏覽代碼

优化$ths

wufeng 2 年之前
父節點
當前提交
84daa462a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/Goodup.php

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

@@ -253,7 +253,7 @@ class Goodup extends Base
         }
         $lead_time = isset($this->post['lead_time'])&&$this->post['lead_time']!==""? intval($this->post['lead_time'])
             :"0";
-        $cgd_gold_price =isset($ths->post['cgd_gold_price'])&&$ths->post['cgd_gold_price']!==""?floatval($ths->post['cgd_gold_price']):"0";
+        $cgd_gold_price =isset($this->post['cgd_gold_price'])&&$this->post['cgd_gold_price']!==""?floatval($this->post['cgd_gold_price']):"0";
 
 
 //        if($lead_time===""){