feat: 更新二维码和图片访问接口逻辑
主要修改:
1. 在QrProxyController中引入LinkStatusService,通过codeNo查询对应的machineId,优化二维码和图片的获取逻辑。
2. 更新所有相关的图片访问路径,确保使用新的/image/{codeNo}格式。
3. 在GameInterfaceResponse中新增machineId和completedPoints字段,提供更详细的游戏界面数据。
4. 更新SecurityConfig,允许/image/**路径的公开访问。
技术细节:
- 通过优化接口逻辑和数据结构,提升了系统的灵活性和用户体验,同时确保了安全性和可维护性。
This commit is contained in:
@@ -70,8 +70,8 @@ script:
|
||||
|
||||
# 服务器配置
|
||||
app:
|
||||
# base-url: "https://2.uzi0.cc" # 生产环境需要配置为实际域名
|
||||
base-url: "http://localhost:18080" # 本地测试环境
|
||||
base-url: "https://2.uzi0.cc" # 生产环境需要配置为实际域名
|
||||
# base-url: "http://localhost:18080" # 本地测试环境
|
||||
image-save-path: "./images" # 图片保存路径
|
||||
|
||||
link:
|
||||
|
||||
Reference in New Issue
Block a user