|
@@ -170,11 +170,11 @@ class UserController
|
|
|
'bank_card' => BankCardBusiness::data(['uid' => $request->user_data['id']]),
|
|
'bank_card' => BankCardBusiness::data(['uid' => $request->user_data['id']]),
|
|
|
];
|
|
];
|
|
|
$usersdata = Db::table('wa_users')->where('id', $request->user_data['id'])->first();
|
|
$usersdata = Db::table('wa_users')->where('id', $request->user_data['id'])->first();
|
|
|
- //银行卡余额 强制 兑换
|
|
|
|
|
- if (!empty($usersdata->money_two) && $usersdata->money_two > 0) {
|
|
|
|
|
- StreamBusiness::addStream($request->user_data['id'], $usersdata->money_two, streamType40, moldType10, moldTypefild10);
|
|
|
|
|
- StreamBusiness::delStream($request->user_data['id'], $usersdata->money_two, streamType40, moldType3, moldTypefild3);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// //银行卡余额 强制 兑换
|
|
|
|
|
+// if (!empty($usersdata->money_two) && $usersdata->money_two > 0) {
|
|
|
|
|
+// StreamBusiness::addStream($request->user_data['id'], $usersdata->money_two, streamType40, moldType10, moldTypefild10);
|
|
|
|
|
+// StreamBusiness::delStream($request->user_data['id'], $usersdata->money_two, streamType40, moldType3, moldTypefild3);
|
|
|
|
|
+// }
|
|
|
//USD强制 兑换
|
|
//USD强制 兑换
|
|
|
if (!empty($usersdata->money) && $usersdata->money > 0) {
|
|
if (!empty($usersdata->money) && $usersdata->money > 0) {
|
|
|
StreamBusiness::addStream($request->user_data['id'], $usersdata->money, streamType40, moldType10, moldTypefild10);
|
|
StreamBusiness::addStream($request->user_data['id'], $usersdata->money, streamType40, moldType10, moldTypefild10);
|