|
@@ -59,6 +59,7 @@ class BalanceLogService extends BaseService
|
|
|
$status = isset($params['status'])? $params['status'] : 0;
|
|
$status = isset($params['status'])? $params['status'] : 0;
|
|
|
$type = isset($params['type'])? $params['type'] : 0;
|
|
$type = isset($params['type'])? $params['type'] : 0;
|
|
|
$userType = isset($params['user_type'])? $params['user_type'] : 0;
|
|
$userType = isset($params['user_type'])? $params['user_type'] : 0;
|
|
|
|
|
+ $coinType = isset($params['coin_type'])? $params['coin_type'] : 0;
|
|
|
$userId = isset($params['user_id'])? $params['user_id'] : 0;
|
|
$userId = isset($params['user_id'])? $params['user_id'] : 0;
|
|
|
if($status>0){
|
|
if($status>0){
|
|
|
$where['status'] = $status;
|
|
$where['status'] = $status;
|
|
@@ -72,6 +73,10 @@ class BalanceLogService extends BaseService
|
|
|
$where['user_id'] = $userId;
|
|
$where['user_id'] = $userId;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if($coinType>0){
|
|
|
|
|
+ $where['coin_type'] = $coinType;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
$year = isset($params['year']) && $params['year']? $params['year'] : '';
|
|
$year = isset($params['year']) && $params['year']? $params['year'] : '';
|
|
|
$month = isset($params['month']) && $params['month']? $params['month'] : '';
|
|
$month = isset($params['month']) && $params['month']? $params['month'] : '';
|
|
|
$date = $year&&$month? "{$year}-{$month}" : '';
|
|
$date = $year&&$month? "{$year}-{$month}" : '';
|