|
|
@@ -1742,50 +1742,18 @@ class ProductRepository extends BaseRepository
|
|
1742
|
1742
|
|
|
1743
|
1743
|
}
|
|
1744
|
1744
|
}else if($product['mer_id'] == 491){
|
|
1745
|
|
- //精彩生活和商贸区
|
|
1746
|
|
- $jf = $product['price'] - round($product['concession_pri']*0.3, 2) . ' + ' . round($product['concession_pri']*0.3, 2);
|
|
1747
|
|
- $jd = $product['price'] - round($product['concession_pri']*0.35, 2) . ' + ' . round($product['concession_pri']*0.35, 2);
|
|
1748
|
|
- if($product['concession_pri'] !=null || $product['concession_pri'] !=0){
|
|
1749
|
|
- $yanglao = round($product['concession_pri'] * 0.3, 2);
|
|
1750
|
|
- $pv = round($product['concession_pri'] * 0.35, 2);
|
|
1751
|
|
- $srtArry['jfduihuan'] =$jf;
|
|
1752
|
|
- $srtArry['jdduihuan'] = $jd;
|
|
1753
|
|
- $jifen = round($product['concession_pri'] * 0.35, 2);
|
|
1754
|
|
- $gongxian = round($product['concession_pri'] * 0.35, 2);
|
|
1755
|
|
-
|
|
1756
|
|
- $jcvr = $product['price'] - round($product['concession_pri']*0.3, 2);
|
|
1757
|
|
- $jcjf = round($product['concession_pri']*0.3, 2);
|
|
1758
|
|
- $jcprice = $product['price'] - round($product['concession_pri']*0.3, 2);
|
|
1759
|
|
- $jcjf1 = round($product['concession_pri']*0.3, 2);
|
|
1760
|
|
- $jcvr1 = $product['price'] - round($product['concession_pri']*0.35, 2);
|
|
1761
|
|
- $jcjd = round($product['concession_pri']*0.35, 2);
|
|
1762
|
|
- $jcprice1 = $product['price'] - round($product['concession_pri']*0.35, 2);
|
|
1763
|
|
- $jcjd1 = round($product['concession_pri']*0.35, 2);
|
|
1764
|
|
-
|
|
1765
|
|
-
|
|
1766
|
|
- //支付组合
|
|
1767
|
|
- // $fzone_paytype= [
|
|
1768
|
|
-
|
|
1769
|
|
- // 2=>[
|
|
1770
|
|
- // 1=>[$jcvr,$jcjf],//VR+积分
|
|
1771
|
|
- // 2=>[$jcprice,$jcjf1],//现金+积分
|
|
1772
|
|
- // 3=>[$jcvr1,$jcjd],//VR+京豆
|
|
1773
|
|
- // 4=>[$jcprice1,$jcjd1],//现金+金豆
|
|
1774
|
|
- // 5=>$product['price'],//VR
|
|
1775
|
|
- // 6=>$product['price'],//现金
|
|
1776
|
|
- // ]
|
|
1777
|
|
- // ];
|
|
1778
|
|
-
|
|
1779
|
|
- $fzone_paytype= [
|
|
1780
|
|
- ['type'=>'b1','price'=>$jcvr,'other'=>$jcjf],
|
|
1781
|
|
- ['type'=>'b2','price'=>$jcprice,'other'=>$jcjf1],
|
|
1782
|
|
- ['type'=>'b3','price'=>$jcvr1,'other'=>$jcjd],
|
|
1783
|
|
- ['type'=>'b4','price'=>$jcprice1,'other'=>$jcjd1],
|
|
1784
|
|
- ['type'=>'b5','price'=>$product['price'],'other'=>0],
|
|
1785
|
|
- ['type'=>'b6','price'=>$product['price'],'other'=>0],
|
|
1786
|
|
- ];
|
|
|
1745
|
+ $num_yl = $product['price'];
|
|
|
1746
|
+ $yanglao = round($num_yl * 0.035, 2);
|
|
|
1747
|
+ $pv=$num_yl *0.7;
|
|
|
1748
|
+ //$v['vr']=$v['price'];
|
|
|
1749
|
+ //1:为会员专区,
|
|
1787
|
1750
|
|
|
1788
|
|
- }
|
|
|
1751
|
+ $fzone_paytype= [
|
|
|
1752
|
+ 1=>[
|
|
|
1753
|
+ 1=>$product['price'],//VR
|
|
|
1754
|
+ 2=>$product['price']//现金
|
|
|
1755
|
+ ]
|
|
|
1756
|
+ ];
|
|
1789
|
1757
|
}
|
|
1790
|
1758
|
|
|
1791
|
1759
|
|