|
@@ -419,7 +419,11 @@ class MemberService extends BaseService
|
|
|
|
|
|
|
|
if($type == 'center'){
|
|
if($type == 'center'){
|
|
|
$info['invite_count'] = $this->model->where(['parent_id'=>$info['id'],'mark'=>1])->count('id');
|
|
$info['invite_count'] = $this->model->where(['parent_id'=>$info['id'],'mark'=>1])->count('id');
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if($type == 'account' || $type == 'center'){
|
|
|
$info['property_price'] = PriceService::make()->getTodayPrice(1);
|
|
$info['property_price'] = PriceService::make()->getTodayPrice(1);
|
|
|
|
|
+ $info['property_total'] = floatval($info['property'] * $info['property_price']);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
RedisService::set($cacheKey, $info, rand(10, 20));
|
|
RedisService::set($cacheKey, $info, rand(10, 20));
|