|
|
@@ -451,43 +451,53 @@ class PayorderBusiness
|
|
|
|
|
|
} elseif ($goodsData->type == 10) {
|
|
|
Db::table('wa_users')->where('id', $data['user_id'])->increment('total_withdrawal_amount', $goodsData->balance);
|
|
|
- }elseif ($goodsData->type == 11) {
|
|
|
+ } elseif ($goodsData->type == 11) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 12) {
|
|
|
+ } elseif ($goodsData->type == 12) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 14) {
|
|
|
+ } elseif ($goodsData->type == 14) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 15) {
|
|
|
+ } elseif ($goodsData->type == 15) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 16) {
|
|
|
+ } elseif ($goodsData->type == 16) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 17) {
|
|
|
+ } elseif ($goodsData->type == 17) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 18) {
|
|
|
+ } elseif ($goodsData->type == 18) {
|
|
|
if (!empty($goodsData->balance)) {
|
|
|
StreamBusiness::addStream($data['user_id'], $goodsData->balance, streamType19, moldType6, moldTypefild6, $data['id']);
|
|
|
}
|
|
|
- }elseif ($goodsData->type == 19) {
|
|
|
-
|
|
|
- }elseif ($goodsData->type == 20) {
|
|
|
+ } elseif ($goodsData->type == 19) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 21) {
|
|
|
- Db::table('wa_users')->where('id', $data['user_id'])->update(['vip_name'=>$goodsData->name,'vip_img'=>$goodsData->img]);
|
|
|
- }elseif ($goodsData->type == 22) {
|
|
|
+ } elseif ($goodsData->type == 20) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 23) {
|
|
|
+ } elseif ($goodsData->type == 21) {
|
|
|
+ Db::table('wa_users')->where('id', $data['user_id'])->update(['vip_name' => $goodsData->name, 'vip_img' => $goodsData->img]);
|
|
|
+ } elseif ($goodsData->type == 22) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 24) {
|
|
|
+ } elseif ($goodsData->type == 23) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 25) {
|
|
|
+ } elseif ($goodsData->type == 24) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 26) {
|
|
|
+ } elseif ($goodsData->type == 25) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 27) {
|
|
|
+ } elseif ($goodsData->type == 26) {
|
|
|
|
|
|
- }elseif ($goodsData->type == 28) {
|
|
|
- Db::table('wa_users')->where('id', $data['user_id'])->update(['card_number'=>Arr::get($data, 'account_number', '************')]);
|
|
|
- }elseif ($goodsData->type == 29) {
|
|
|
+ } elseif ($goodsData->type == 27) {
|
|
|
+
|
|
|
+ } elseif ($goodsData->type == 28) {
|
|
|
+ Db::table('wa_users')->where('id', $data['user_id'])->update(['card_number' => Arr::get($data, 'account_number', '************')]);
|
|
|
+ } elseif ($goodsData->type == 29) {
|
|
|
+
|
|
|
+ } elseif ($goodsData->type == 30) {
|
|
|
+
|
|
|
+ } elseif ($goodsData->type == 31) {
|
|
|
+ Db::table('wa_users')->where('id', $data['user_id'])->update([
|
|
|
+ 'pingzheng_name' => Arr::get($data, 'name', null),
|
|
|
+ 'pingzheng_number' => Arr::get($data, 'number', null),
|
|
|
+ 'updated_at' => date('Y-m-d H:i:s'),
|
|
|
+ ]);
|
|
|
+ } elseif ($goodsData->type == 32) {
|
|
|
|
|
|
}
|
|
|
if (!empty($user->pid) && !empty($system->rebate)) {
|