From 6842bd75eaf6b2f3c89d13e87d01d9327eafb533 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Thu, 8 Jan 2026 11:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChatApplet/Controllers/JingShiTiJiaoController.cs | 1 + WeChatApplet/Services/Impl/JingShiTiJiaoService.cs | 2 +- WeChatApplet/appsettings.json | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/WeChatApplet/Controllers/JingShiTiJiaoController.cs b/WeChatApplet/Controllers/JingShiTiJiaoController.cs index ac1fb64..6974ba5 100644 --- a/WeChatApplet/Controllers/JingShiTiJiaoController.cs +++ b/WeChatApplet/Controllers/JingShiTiJiaoController.cs @@ -41,6 +41,7 @@ namespace YD_WeChatApplet.Api.Controllers /// /// 根据班级编号获取学生列表 + /// /// /// [HttpGet("GetStuListByClass")] diff --git a/WeChatApplet/Services/Impl/JingShiTiJiaoService.cs b/WeChatApplet/Services/Impl/JingShiTiJiaoService.cs index da6dd9b..117392e 100644 --- a/WeChatApplet/Services/Impl/JingShiTiJiaoService.cs +++ b/WeChatApplet/Services/Impl/JingShiTiJiaoService.cs @@ -121,7 +121,7 @@ namespace YD_WeChatApplet.Api.Services.Impl string queryStr = SaTokenSignHelper.BuildQueryString(paramMap, AppSettings.JingShiTiJiao.SecretKey); // 5. 拼接最终 URL - string url = $"{AppSettings.JingShiTiJiao.BaseUrl}/api/open//stu/info?{queryStr}"; + string url = $"{AppSettings.JingShiTiJiao.BaseUrl}/api/open/stu/info?{queryStr}"; string json = await HttpManager.HttpGetAsync(url); diff --git a/WeChatApplet/appsettings.json b/WeChatApplet/appsettings.json index 7749d3a..a8c7e58 100644 --- a/WeChatApplet/appsettings.json +++ b/WeChatApplet/appsettings.json @@ -36,9 +36,10 @@ "CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9993,http://localhost:9993", "WeChat": { - "Appid": "wx9d179138d229d06b", - "Secret": "184e88291d4df383f3041d7160884f5f" + "Appid": "wx0379ad92dffe83c3", + "Secret": "ba4b9a52fe31f66e747e11358489844a" }, + //"WeChatQA": { // "Appid": "wx35d6f91e583dff91", // "Secret": "dfd1128336e8135e86913456dd36dc89"