|
|
@@ -117,6 +117,11 @@ class AccountLogService extends BaseService
|
|
|
$query->where('b.wallet_url', $walletUrl);
|
|
|
}
|
|
|
|
|
|
+ $userId = isset($params['user_id'])? $params['user_id'] : 0;
|
|
|
+ if ($userId) {
|
|
|
+ $query->where('a.user_id', $userId);
|
|
|
+ }
|
|
|
+
|
|
|
$userType = isset($params['user_type'])? $params['user_type'] : 0;
|
|
|
if ($userType) {
|
|
|
$query->where('a.user_type', $userType);
|