wugg 3 年之前
父節點
當前提交
65d7fba9d7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/Consult.php

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

@@ -805,7 +805,7 @@ class Consult extends Base
         $spucode=makeNo("SPU");
         $catinfo = Db::name("cat")->where(["id"=>$cat_id])->find();
         $budget = isset($catinfo['order_rate']) ? $catinfo['order_rate']/100:1;
-        if($is_gold_price=1){
+        if($is_gold_price==1){
             $gold = Db::name("gold_price1")->where(["type"=>$metal_id,"is_del"=>0,"status"=>1])->order("addtime desc")
                 ->find();
             $total_fee = $open_fee/$zxinfo['num'] + $weight* $gold["price"] + $cost_fee*