密钥
This commit is contained in:
parent
37982b0f6e
commit
6842bd75ea
@ -41,6 +41,7 @@ namespace YD_WeChatApplet.Api.Controllers
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据班级编号获取学生列表
|
/// 根据班级编号获取学生列表
|
||||||
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet("GetStuListByClass")]
|
[HttpGet("GetStuListByClass")]
|
||||||
|
|||||||
@ -121,7 +121,7 @@ namespace YD_WeChatApplet.Api.Services.Impl
|
|||||||
string queryStr = SaTokenSignHelper.BuildQueryString(paramMap, AppSettings.JingShiTiJiao.SecretKey);
|
string queryStr = SaTokenSignHelper.BuildQueryString(paramMap, AppSettings.JingShiTiJiao.SecretKey);
|
||||||
|
|
||||||
// 5. 拼接最终 URL
|
// 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);
|
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",
|
"CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9993,http://localhost:9993",
|
||||||
|
|
||||||
"WeChat": {
|
"WeChat": {
|
||||||
"Appid": "wx9d179138d229d06b",
|
"Appid": "wx0379ad92dffe83c3",
|
||||||
"Secret": "184e88291d4df383f3041d7160884f5f"
|
"Secret": "ba4b9a52fe31f66e747e11358489844a"
|
||||||
},
|
},
|
||||||
|
|
||||||
//"WeChatQA": {
|
//"WeChatQA": {
|
||||||
// "Appid": "wx35d6f91e583dff91",
|
// "Appid": "wx35d6f91e583dff91",
|
||||||
// "Secret": "dfd1128336e8135e86913456dd36dc89"
|
// "Secret": "dfd1128336e8135e86913456dd36dc89"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user