|
@@ -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*
|