|
@@ -529,6 +529,7 @@ class MemberService extends BaseService
|
|
|
$type = isset($params['type'])?$params['type']:'';
|
|
$type = isset($params['type'])?$params['type']:'';
|
|
|
if ($type == 'agent' && $info['agent']) {
|
|
if ($type == 'agent' && $info['agent']) {
|
|
|
$info['agent_level'] = $this->getAgentLevel($info['id']);
|
|
$info['agent_level'] = $this->getAgentLevel($info['id']);
|
|
|
|
|
+ $info['agent_level'] = $info['agent_level']>=2?2 : 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
RedisService::set($cacheKey, $info, rand(30, 60));
|
|
RedisService::set($cacheKey, $info, rand(30, 60));
|