controller(); return $this->city($cityName); } protected function city($name) { //和$name这个城市相关的处理 return '当前城市' . $name; } }