♻️Refactor: 微服务重构
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
|
||||
<artifactId>common</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>21</maven.compiler.source>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.hezhaohui.common;
|
||||
package cn.hezhaohui.weather.common;
|
||||
|
||||
public class AIConstant {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.hezhaohui.common;
|
||||
package cn.hezhaohui.weather.common;
|
||||
|
||||
public class AppConstant {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.hezhaohui.common;
|
||||
package cn.hezhaohui.weather.common;
|
||||
|
||||
public enum CardEnum {
|
||||
CARD_WEATHER("AAqxas5etOJDx", "1.0.5");
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.hezhaohui.common;
|
||||
package cn.hezhaohui.weather.common;
|
||||
|
||||
public class WeatherConstant {
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package cn.hezhaohui.weather.entity;
|
||||
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public class Weather {
|
||||
private String weather;
|
||||
private String temperature;
|
||||
private String windPower;
|
||||
private String windDirection;
|
||||
private String reportTime;
|
||||
private String humidity;
|
||||
private String content;
|
||||
}
|
||||
Reference in New Issue
Block a user