|
|
@@ -178,12 +178,12 @@ class WithdrawBusiness
|
|
|
}elseif ($param['mold'] == 10){
|
|
|
StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType23, $param['mold'], moldTypefild($param['mold']), $withdrawId);
|
|
|
Db::table('wa_system')->where('id',1)->increment('completion_progress',10);
|
|
|
- } if ($param['mold'] == 1) {
|
|
|
+ } elseif ($param['mold'] == 1) {
|
|
|
StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType4, $param['mold'], moldTypefild($param['mold']), $withdrawId);
|
|
|
StreamBusiness::addStream($param['user_data']['id'], $param['money'], streamType4, moldType10, moldTypefild10, $withdrawId);
|
|
|
StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType4, moldType4, moldTypefild4, $withdrawId);
|
|
|
StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType4, moldType14, moldTypefild14, $withdrawId);
|
|
|
- } if ($param['mold'] == 55) {
|
|
|
+ }elseif ($param['mold'] == 55) {
|
|
|
StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType4, moldType5,moldTypefild5, $withdrawId);
|
|
|
StreamBusiness::addStream($param['user_data']['id'], bcmul($param['money'],$system->coin_value,2), streamType4, moldType10, moldTypefild10, $withdrawId);
|
|
|
StreamBusiness::delStream($param['user_data']['id'], bcmul($param['money'],$system->coin_value,2), streamType4, moldType4, moldTypefild4, $withdrawId);
|