验证码

This commit is contained in:
songjinsheng
2022-06-16 09:24:27 +08:00
parent 2de946adb8
commit c9ee01dd1f
14 changed files with 598 additions and 108 deletions

View File

@ -0,0 +1,110 @@
package com.ruoyi.system.domain_yada;
import java.time.LocalDate;
/**
* @Author: JinSheng Song
* @Date: 2022/6/10 10:04
*/
public class CastsVo
{
private String date;
private String week;
private String dayweather;
private String nightweather;
private String daytemp;
private String nighttemp;
private String daywind;
private String nightwind;
private String daypower;
private String nightpower;
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getWeek() {
return week;
}
public void setWeek(String week) {
this.week = week;
}
public String getDayweather() {
return dayweather;
}
public void setDayweather(String dayweather) {
this.dayweather = dayweather;
}
public String getNightweather() {
return nightweather;
}
public void setNightweather(String nightweather) {
this.nightweather = nightweather;
}
public String getDaytemp() {
return daytemp;
}
public void setDaytemp(String daytemp) {
this.daytemp = daytemp;
}
public String getNighttemp() {
return nighttemp;
}
public void setNighttemp(String nighttemp) {
this.nighttemp = nighttemp;
}
public String getDaywind() {
return daywind;
}
public void setDaywind(String daywind) {
this.daywind = daywind;
}
public String getNightwind() {
return nightwind;
}
public void setNightwind(String nightwind) {
this.nightwind = nightwind;
}
public String getDaypower() {
return daypower;
}
public void setDaypower(String daypower) {
this.daypower = daypower;
}
public String getNightpower() {
return nightpower;
}
public void setNightpower(String nightpower) {
this.nightpower = nightpower;
}
}

View File

@ -0,0 +1,62 @@
package com.ruoyi.system.domain_yada;
import java.time.LocalDateTime;
import java.util.List;
/**
* @Author: JinSheng Song
* @Date: 2022/6/10 10:02
*/
public class ForecastVo {
private String city;
private String adcode;
private String province;
private String reporttime;
private List<CastsVo> casts;
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getAdcode() {
return adcode;
}
public void setAdcode(String adcode) {
this.adcode = adcode;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getReporttime() {
return reporttime;
}
public void setReporttime(String reporttime) {
this.reporttime = reporttime;
}
public List<CastsVo> getCasts() {
return casts;
}
public void setCasts(List<CastsVo> casts) {
this.casts = casts;
}
}

View File

@ -0,0 +1,110 @@
package com.ruoyi.system.domain_yada;
import java.time.LocalDateTime;
/**
* @Author: JinSheng Song
* @Date: 2022/6/10 9:57
*/
public class LivesVo
{
/**
* 省份名
*/
private String province;
/**
* 城市名
*/
private String city;
/**
* 区域编码
*/
private String adcode;
/**
*天气现象
*/
private String weather;
private String temperature;
private String winddirection;
private String windpower;
private String humidity;
private LocalDateTime reporttime;
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getAdcode() {
return adcode;
}
public void setAdcode(String adcode) {
this.adcode = adcode;
}
public String getWeather() {
return weather;
}
public void setWeather(String weather) {
this.weather = weather;
}
public String getTemperature() {
return temperature;
}
public void setTemperature(String temperature) {
this.temperature = temperature;
}
public String getWinddirection() {
return winddirection;
}
public void setWinddirection(String winddirection) {
this.winddirection = winddirection;
}
public String getWindpower() {
return windpower;
}
public void setWindpower(String windpower) {
this.windpower = windpower;
}
public String getHumidity() {
return humidity;
}
public void setHumidity(String humidity) {
this.humidity = humidity;
}
public LocalDateTime getReporttime() {
return reporttime;
}
public void setReporttime(LocalDateTime reporttime) {
this.reporttime = reporttime;
}
}

View File

@ -0,0 +1,85 @@
package com.ruoyi.system.domain_yada;
import java.util.List;
/**
* @Author: JinSheng Song
* @Date: 2022/6/10 9:53
*/
public class WeatherUtilsVO {
/**
* 接口返回状态
*/
private String status;
/**
* 返回结果数量
*/
private String count;
private String info;
private String infocode;
/**
* 实时天气预报
*/
private List<LivesVo> lives;
/**
* 预报天气
*/
private List<ForecastVo> forecasts;
// /**
// * 预报天气
// */
// private String forecasts;
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCount() {
return count;
}
public void setCount(String count) {
this.count = count;
}
public String getInfo() {
return info;
}
public void setInfo(String info) {
this.info = info;
}
public String getInfocode() {
return infocode;
}
public void setInfocode(String infocode) {
this.infocode = infocode;
}
public List<ForecastVo> getForecasts() {
return forecasts;
}
public void setForecasts(List<ForecastVo> forecasts) {
this.forecasts = forecasts;
}
public List<LivesVo> getLives() {
return lives;
}
public void setLives(List<LivesVo> lives) {
this.lives = lives;
}
}