feat: 添加AOP支持和更新链接控制器逻辑
主要修改: 1. 在pom.xml中新增spring-boot-starter-aop依赖,支持面向切面编程。 2. 在LinkController中移除DeviceCodeMappingService的依赖,更新二维码获取逻辑,使用linkStatusService获取设备ID。 3. 在SelectRegionResponse中新增mecmachineId字段,便于调试和维护。 4. 在SecurityConfig中允许二维码HEAD请求公开访问。 技术细节: - 通过引入AOP支持,提升了代码的可维护性和扩展性,同时优化了链接控制器的逻辑,确保设备ID的获取更加灵活。
This commit is contained in:
@@ -70,7 +70,8 @@ script:
|
||||
|
||||
# 服务器配置
|
||||
app:
|
||||
base-url: "https://2.uzi0.cc" # 生产环境需要配置为实际域名
|
||||
# base-url: "https://2.uzi0.cc" # 生产环境需要配置为实际域名
|
||||
base-url: "http://localhost:18080" # 本地测试环境
|
||||
image-save-path: "./images" # 图片保存路径
|
||||
|
||||
link:
|
||||
|
||||
Reference in New Issue
Block a user