|
@@ -1972,15 +1972,13 @@ class User extends BaseController
|
|
1972
|
}
|
1972
|
}
|
|
1973
|
if( $this->source =='yhc') {
|
1973
|
if( $this->source =='yhc') {
|
|
1974
|
$yhc_withdrawal_rate=merchantConfig($this->merId,'yhc_withdrawal_rate');
|
1974
|
$yhc_withdrawal_rate=merchantConfig($this->merId,'yhc_withdrawal_rate');
|
|
1975
|
-
|
|
|
|
1976
|
-
|
|
|
|
1977
|
$service_money=bcmul($money, $yhc_withdrawal_rate/100,2);
|
1975
|
$service_money=bcmul($money, $yhc_withdrawal_rate/100,2);
|
|
1978
|
$money=bcsub($money,$service_money,2);
|
1976
|
$money=bcsub($money,$service_money,2);
|
|
1979
|
$service=$yhc_withdrawal_rate.'%';
|
1977
|
$service=$yhc_withdrawal_rate.'%';
|
|
1980
|
}else{
|
1978
|
}else{
|
|
1981
|
$service_money=bcmul($money,'0.06',2);
|
1979
|
$service_money=bcmul($money,'0.06',2);
|
|
1982
|
$money=bcsub($money,$service_money,2);
|
1980
|
$money=bcsub($money,$service_money,2);
|
|
1983
|
- $service='6%';
|
|
|
|
|
|
1981
|
+ $service='10%';
|
|
1984
|
}
|
1982
|
}
|
|
1985
|
|
1983
|
|
|
1986
|
return app('json')->success(['service_money'=>$service_money,'money'=>$money,'service'=>$service]);
|
1984
|
return app('json')->success(['service_money'=>$service_money,'money'=>$money,'service'=>$service]);
|