♻️Refactor: 微服务重构

This commit is contained in:
2025-10-28 23:09:46 +08:00
parent 44607b5e1b
commit c0b89fcd95
30 changed files with 279 additions and 40 deletions
+8
View File
@@ -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,4 +1,4 @@
package cn.hezhaohui.common;
package cn.hezhaohui.weather.common;
public class AIConstant {
@@ -1,4 +1,4 @@
package cn.hezhaohui.common;
package cn.hezhaohui.weather.common;
public class AppConstant {
@@ -1,4 +1,4 @@
package cn.hezhaohui.common;
package cn.hezhaohui.weather.common;
public enum CardEnum {
CARD_WEATHER("AAqxas5etOJDx", "1.0.5");
@@ -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;
}