From afc6f163cca67f450b928904331b15fffd2b764b Mon Sep 17 00:00:00 2001 From: "Vicente.Yu" <^@^> Date: Wed, 10 Jul 2024 10:06:32 +0800 Subject: [PATCH] Update FeishuNetSdk.sln Signed-off-by: Vicente.Yu <^@^> --- FeishuNetSdk.sln | 4 ++-- samples/WebApplication1/Pages/Index.cshtml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FeishuNetSdk.sln b/FeishuNetSdk.sln index f80b9bbe..cd6b709f 100644 --- a/FeishuNetSdk.sln +++ b/FeishuNetSdk.sln @@ -13,11 +13,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FeishuNetSdk", "src\FeishuN EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FeishuNetSdk.Tests", "test\FeishuNetSdk.Tests\FeishuNetSdk.Tests.csproj", "{7E13C5A3-AFF5-4B9E-A746-54531FF161D4}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{B1D967FA-F234-4093-AC96-653E34D447E8}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "samples", "{B1D967FA-F234-4093-AC96-653E34D447E8}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleApp1", "samples\ConsoleApp1\ConsoleApp1.csproj", "{8CB112D5-89CF-4ABE-9F39-62C6047BC3EC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "Samples\WebApplication1\WebApplication1.csproj", "{4969EB46-D7B9-4A13-A732-8E826D1CF79F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "samples\WebApplication1\WebApplication1.csproj", "{4969EB46-D7B9-4A13-A732-8E826D1CF79F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/samples/WebApplication1/Pages/Index.cshtml b/samples/WebApplication1/Pages/Index.cshtml index 966b20f1..bd0b59d6 100644 --- a/samples/WebApplication1/Pages/Index.cshtml +++ b/samples/WebApplication1/Pages/Index.cshtml @@ -6,7 +6,7 @@ ViewData["Title"] = "Home page"; var code = ViewData["code"] as string; - var state = ViewData["state"] as string; + var state = ViewData["state"] as string; // <==在正式环境下需要验证state的合法性,注意防范CSRF攻击。 var redirect_url = System.Web.HttpUtility.UrlEncode("https://localhost:7233/index"); //<== 运行前需要先将此URL添加到 飞书开发者后台 - 安全设置 - 重定向URL 中 var app_id = "cli_a609xxxxxxxxxxx900e";