密钥
This commit is contained in:
parent
37982b0f6e
commit
6842bd75ea
@ -41,6 +41,7 @@ namespace YD_WeChatApplet.Api.Controllers
|
||||
|
||||
/// <summary>
|
||||
/// 根据班级编号获取学生列表
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("GetStuListByClass")]
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user