From 25df88d0ab9d7444ed1d162b9efa1259ac2f6f66 Mon Sep 17 00:00:00 2001
From: longz <longzhaoz@qq.com>
Date: 星期一, 27 四月 2026 10:13:53 +0800
Subject: [PATCH] 小程序对接finish

---
 backend/src/main/resources/application.yml |   21 +++++++--------------
 1 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml
index 465b1c7..f3dfd68 100644
--- a/backend/src/main/resources/application.yml
+++ b/backend/src/main/resources/application.yml
@@ -6,11 +6,6 @@
     username: root
     password: 123456
     driver-class-name: com.mysql.cj.jdbc.Driver
-  rabbitmq:
-    host: localhost
-    port: 5672
-    username: guest
-    password: guest
   cache:
     type: redis
   # Spring Boot 3:Redis 配置前缀为 spring.data.redis(spring.redis.* 已移除,沿用会导致连默认 localhost)
@@ -27,15 +22,10 @@
           max-wait: -1ms
           max-idle: 10
           min-idle: 0
-
-# 无 RabbitMQ 时排除自动配置,避免启动失败
-  autoconfigure:
-    exclude:
-      - org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
-
 mybatis-plus:
   configuration:
     map-underscore-to-camel-case: true
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
   global-config:
     db-config:
       logic-delete-field: delFlag
@@ -78,9 +68,9 @@
 # 微信小程序(真实登录时设 stub: false 并配置 app-id / app-secret)
 wechat:
   miniapp:
-    app-id: ${WECHAT_MINI_APPID:}
-    app-secret: ${WECHAT_MINI_SECRET:}
-    stub: ${WECHAT_MINI_STUB:true}
+    app-id: ${WECHAT_MINI_APPID:wxe91f1af7638aa5dd}
+    app-secret: ${WECHAT_MINI_SECRET:a787e1a462715604e0c9528b6d8960d1}
+    stub: ${WECHAT_MINI_STUB:false}
 
 springdoc:
   api-docs:
@@ -98,3 +88,6 @@
     key: ${ADMIN_LOGIN_AES_KEY:SinataAdminKey01}
     iv: ${ADMIN_LOGIN_AES_IV:SinataAdminIv001}
     max-skew-millis: ${ADMIN_LOGIN_AES_MAX_SKEW_MILLIS:60000}
+
+file-upload-path: D:\tmp\
+picture-server-address: http://221.182.45.100:8881/

--
Gitblit v1.7.1