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"