@@ -79,7 +79,7 @@ class AccountLogService extends BaseService
})
->where(function($query) use($coinType){
if($coinType==3){
- $query->where('a.coin_type', $coinType)->orWhereIn('a.type',[7,8,9,10,13,14,15,16]);
+ $query->where('a.coin_type', $coinType)->orWhereIn('a.type', [7,8,9,10,13,14,15,16]);
}else{
$query->where('a.coin_type', $coinType);
}
@@ -647,7 +647,7 @@ class PledgeOrderService extends BaseService
$data = [
'user_id' => $userId,
'order_no' => $orderNo,
- 'type' => 1,
+ 'type' => 7,
'round' => $pledgeRound,
'user_type' => 1,
'coin_type' => 1,
@@ -671,7 +671,7 @@ class PledgeOrderService extends BaseService
'coin_type' => 2,