request->get(); $result = (new RegionLogic())->region($params); return $this->success('获取成功',$result); } /** * @notes 地级市列表 * @return \think\response\Json * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author ljj * @date 2022/4/6 2:41 下午 */ public function city() { $params = $this->request->get(); $result = (new RegionLogic())->city($params); return $this->success('获取成功',$result); } }