one_after 2 달 전
부모
커밋
0b42751132
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      app/business/PayorderBusiness.php

+ 1 - 6
app/business/PayorderBusiness.php

@@ -611,12 +611,7 @@ class PayorderBusiness
                 StreamBusiness::addStream($data['user_id'], $goodsData->pay_price, streamType45, moldType17, moldTypefild17, $data['id']);
             } elseif ($goodsData->type == 8) {
 
-                $protocol_money = Db::table('wa_withdraw')
-                    ->whereIn('type', [17, 10])
-                    ->where('user_id', $data['user_id'])
-                    ->sum('money');
-
-                Db::table('wa_users')->where('id', $data['user_id'])->update(['is_protocol' => 1, 'protocol_time' => date('Y-m-d H:i:s'), 'protocol_money' => $protocol_money]);
+                Db::table('wa_users')->where('id', $data['user_id'])->update(['is_protocol' => 1, 'protocol_time' => date('Y-m-d H:i:s')]);
 
                 StreamBusiness::addStream($data['user_id'], $goodsData->pay_price, streamType45, moldType17, moldTypefild17, $data['id']);
             }