|
@@ -362,8 +362,9 @@ class MemberService extends BaseService
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$info = $this->model->where(['id' => $userId, 'mark' => 1])
|
|
$info = $this->model->where(['id' => $userId, 'mark' => 1])
|
|
|
- ->select(['id', 'realname','idcard','bank_name','bank_card','bank_branch','is_auth', 'status'])
|
|
|
|
|
|
|
+ ->select(['id', 'realname','company','department','position','idcard','bank_name','bank_card','bank_branch','is_auth', 'status'])
|
|
|
->first();
|
|
->first();
|
|
|
|
|
+ $info = $info?$info->toArray() : [];
|
|
|
if($info){
|
|
if($info){
|
|
|
RedisService::set($cacheKey, $info, rand(300,600));
|
|
RedisService::set($cacheKey, $info, rand(300,600));
|
|
|
}
|
|
}
|