|
|
@@ -111,11 +111,16 @@ class WithdrawBusiness
|
|
|
$account_holder = '';
|
|
|
$card_number = '';
|
|
|
} elseif ($param['mold'] == 10) {
|
|
|
- $status = 1;
|
|
|
+ $status = 3;
|
|
|
$affiliated_bank = '';
|
|
|
$account_holder = '';
|
|
|
$card_number = '';
|
|
|
$remarks = '全球通金卡提现申请通过,已打款';
|
|
|
+ }elseif ($param['mold'] == 17) {
|
|
|
+ $status = 3;
|
|
|
+ $affiliated_bank = '';
|
|
|
+ $account_holder = '';
|
|
|
+ $card_number = '';
|
|
|
} elseif ($param['mold'] == 1) {
|
|
|
$status = 3;
|
|
|
$affiliated_bank = '';
|
|
|
@@ -197,9 +202,15 @@ class WithdrawBusiness
|
|
|
StreamBusiness::delStream($param['user_data']['id'], 100, streamType22, moldType5, moldTypefild5, $withdrawId);
|
|
|
StreamBusiness::addStream($param['user_data']['id'], bcmul($param['money'], $system->coin_value, 2), streamType24, moldType10, moldTypefild10, $withdrawId);
|
|
|
} elseif ($param['mold'] == 10) {
|
|
|
- StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType23, $param['mold'], moldTypefild($param['mold']), $withdrawId);
|
|
|
+ StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType4, $param['mold'], moldTypefild($param['mold']), $withdrawId);
|
|
|
// Db::table('wa_system')->where('id',1)->increment('completion_progress',10);
|
|
|
Db::table('wa_users')->where('id', $param['user_data']['id'])->increment('bank_money', $param['money']);
|
|
|
+ StreamBusiness::addStream($param['user_data']['id'],$param['money'], streamType4, moldType3, moldTypefild3,$withdrawId);
|
|
|
+
|
|
|
+ } elseif ($param['mold'] == 17) {
|
|
|
+ StreamBusiness::delStream($param['user_data']['id'], $param['money'], streamType4, $param['mold'], moldTypefild($param['mold']), $withdrawId);
|
|
|
+ StreamBusiness::addStream($param['user_data']['id'], $param['money'], streamType4, moldType3, moldTypefild3, $withdrawId);
|
|
|
+
|
|
|
} 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);
|