配置修改

This commit is contained in:
2026-04-17 21:08:43 +08:00
parent f6156be7f2
commit 1a6c8fa74f
2 changed files with 29 additions and 1 deletions

View File

@ -80,7 +80,20 @@ class Index extends Api
$result = RegionLogic::city();
return JsonServer::success('', $result);
}
/**
* @notes 热门城市
* @return \think\response\Json
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author 胥聪
* @date 2026/04/17 21:05
*/
public function hotCity()
{
$result = RegionLogic::hotCity();
return JsonServer::success('', $result);
}
/**
* @notes 腾讯地图逆地址解析(坐标位置描述)
* @return \think\response\Json