|
@@ -219,6 +219,8 @@ class Usercenter extends Api
|
|
|
$one['age'] = birthtime_to_age($one['birthday']);
|
|
|
// $one['distance'] = $this->calc_map_distance([$this->auth->longitude,$this->auth->latitude],[$one['longitude'],$one['latitude']]);
|
|
|
$one['distance'] = rand(0,10).'km';
|
|
|
+ //状态
|
|
|
+ $one['active_text'] = '在线';
|
|
|
|
|
|
$list[$key] = $one;
|
|
|
}
|
|
@@ -267,6 +269,9 @@ class Usercenter extends Api
|
|
|
$one['age'] = birthtime_to_age($one['birthday']);
|
|
|
//$one['distance'] = $this->calc_map_distance([$this->auth->longitude,$this->auth->latitude],[$one['longitude'],$one['latitude']]);
|
|
|
$one['distance'] = rand(0,10).'km';
|
|
|
+ //状态
|
|
|
+ $one['active_text'] = '在线';
|
|
|
+
|
|
|
$list[$key] = $one;
|
|
|
}
|
|
|
|