|  | @@ -7,6 +7,7 @@ import com.xunmei.common.core.domain.weather.dto.WeatherWarningDto;
 | 
	
		
			
				|  |  |  import com.xunmei.common.core.utils.KeyValue;
 | 
	
		
			
				|  |  |  import com.xunmei.common.core.web.domain.AjaxResult;
 | 
	
		
			
				|  |  |  import com.xunmei.common.core.web.page.TableDataInfo;
 | 
	
		
			
				|  |  | +import com.xunmei.common.security.annotation.InnerAuth;
 | 
	
		
			
				|  |  |  import com.xunmei.common.security.annotation.RequiresPermissions;
 | 
	
		
			
				|  |  |  import com.xunmei.core.access.vo.TMonitoringRetrievalPlanVO;
 | 
	
		
			
				|  |  |  import com.xunmei.core.weather.service.IWeatherWarningService;
 | 
	
	
		
			
				|  | @@ -48,7 +49,7 @@ public class WeatherWarningController {
 | 
	
		
			
				|  |  |          List<KeyValue> cityList = weatherWarningService.cityCodeList();
 | 
	
		
			
				|  |  |      return AjaxResult.success(cityList);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +    @InnerAuth
 | 
	
		
			
				|  |  |      @GetMapping(value = "/getDataFromApi")
 | 
	
		
			
				|  |  |      public void getDataFromApi() {
 | 
	
		
			
				|  |  |          weatherWarningService.getDataFromApi();
 |