|
|
@@ -205,6 +205,7 @@ class BalanceLogService extends BaseService
|
|
|
$field = isset($fields[$accountType])? $fields[$accountType]:'balance';
|
|
|
RedisService::set($cacheLockKey, ['user_id' => $userId, 'params' => $params], rand(10, 20));
|
|
|
$userInfo = MemberModel::where(['id' => $userId, 'mark' => 1])->select(['id', 'balance', 'status'])->first();
|
|
|
+ $realname = isset($userInfo['realname']) ? $userInfo['realname'] : '';
|
|
|
$status = isset($userInfo['status']) ? $userInfo['status'] : 0;
|
|
|
$balance = isset($userInfo[$field]) ? $userInfo[$field] : 0;
|
|
|
if (empty($userInfo) || $status != 1) {
|