|
@@ -49,8 +49,6 @@ class Topicdongtai extends Api
|
|
|
'images' => $images,
|
|
|
'audio_file' => $audio_file,
|
|
|
'type' => $type,
|
|
|
- 'cityname' => input('cityname',''),
|
|
|
- 'provincename' => input('provincename',''),
|
|
|
'aite' => $aite,
|
|
|
'is_public' => input('is_public',1),
|
|
|
'audio_second' => $audio_second,
|
|
@@ -225,7 +223,6 @@ class Topicdongtai extends Api
|
|
|
//附近,根据距离排序
|
|
|
$having_dis = '';
|
|
|
if($order == 'near'){
|
|
|
-// $where['dt.provincename'] = $this->auth->provincename;
|
|
|
$having_dis = 'distance < ' . 100000; //100公里范围
|
|
|
$orderby = 'dt.toptime desc,distance asc';
|
|
|
}
|