Files
anmo/server/app/api/controller/CityController.php
2025-08-19 14:16:51 +08:00

21 lines
554 B
PHP
Executable File

<?php
namespace app\api\controller;
use app\api\logic\CityLogic;
class CityController extends BaseApiController
{
/**
* @notes 获取城市列表
* @return \think\response\Json
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author cjhao
* @date 2024/10/6 17:50
*/
public function getCityLists()
{
$lists = (new CityLogic())->getCityLists();
return $this->success('',$lists);
}
}