|
@@ -178,7 +178,7 @@ class Usercenter extends Api
|
|
|
foreach($list as $key => $one){
|
|
|
$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).'公里';
|
|
|
+ $one['distance'] = rand(0,10).'km';
|
|
|
|
|
|
$list[$key] = $one;
|
|
|
}
|
|
@@ -226,7 +226,7 @@ class Usercenter extends Api
|
|
|
foreach($list as $key => $one){
|
|
|
$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).'公里';
|
|
|
+ $one['distance'] = rand(0,10).'km';
|
|
|
$list[$key] = $one;
|
|
|
}
|
|
|
|