|
|
@@ -39,12 +39,15 @@ class CashClass extends BaseClass
|
|
|
}
|
|
|
|
|
|
//获取提现费率 shish 20210623
|
|
|
- public static function getRate($currentPtStyle)
|
|
|
+ public static function getRate($currentPtStyle, $shopId)
|
|
|
{
|
|
|
if ($currentPtStyle == dict::getDict('ptStyle', 'hd')) {
|
|
|
return 0.006;
|
|
|
-
|
|
|
} elseif ($currentPtStyle == dict::getDict('ptStyle', 'ghs')) {
|
|
|
+ //纯彩花艺二个店0.3费率
|
|
|
+ if ($shopId == 10 || $shopId == 22) {
|
|
|
+ return 0.003;
|
|
|
+ }
|
|
|
return 0.0038;
|
|
|
}
|
|
|
return 0.006;
|
|
|
@@ -97,7 +100,7 @@ class CashClass extends BaseClass
|
|
|
|
|
|
//应转金额
|
|
|
$ptStyle = $shop->ptStyle;
|
|
|
- $rate = CashClass::getRate($ptStyle);
|
|
|
+ $rate = CashClass::getRate($ptStyle, $shop->id);
|
|
|
$tip = bcmul($txBalance, $rate, 2);
|
|
|
$beAmount = bcsub($txBalance, $tip, 2);
|
|
|
|