From c4b85c21d8bee8fef671ec8f5e3957fd88a37f88 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 12 十二月 2024 16:49:29 +0800
Subject: [PATCH] 小程序登录方法demo

---
 pms-parent/pms-wechat-trace/src/main/resources/application.yml |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/pms-parent/pms-wechat-trace/src/main/resources/application.yml b/pms-parent/pms-wechat-trace/src/main/resources/application.yml
index 2acde49..e41a2ac 100644
--- a/pms-parent/pms-wechat-trace/src/main/resources/application.yml
+++ b/pms-parent/pms-wechat-trace/src/main/resources/application.yml
@@ -4,15 +4,16 @@
 
 #web鏈嶅姟绔彛锛宼omcat榛樿鏄�8080
 server:
-    port: ${pms.base.webPort}
+    port: ${pms.wechat.webPort}
     servlet:
-        context-path: /base #web璁块棶涓婁笅鏂囪矾寰�
+        context-path: /wechat #web璁块棶涓婁笅鏂囪矾寰�
         context-parameters:
             #GenerateIdSetSuffixListener涓簲鐢紝鍙栧�艰寖鍥存槸0-99
-            idSuffix: ${pms.base.idSuffix}
+            idSuffix: ${pms.webPort.idSuffix}
             #ConfigListener涓簲鐢�
             #configFileNames: config-global.xml,config-demo.xml
 
-user:
-    defaultTrueRandomFalsePassword: true #true:閲囩敤榛樿瀵嗙爜锛宖alse:绯荤粺浜х敓闅忔満瀵嗙爜
-    defaultPassword: "ABC123" #榛樿瀵嗙爜
\ No newline at end of file
+wechat:
+    appId: wx2e6beb0eca7c3672
+    appSecret: b8f8ce34e13d3ba2eeaeba89068d7fbe
+    loginUrl: https://api.weixin.qq.com/sns/jscode2session
\ No newline at end of file

--
Gitblit v1.8.0