Skip to content

Commit

Permalink
Update FeishuNetSdk.sln
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente.Yu <^@^>
  • Loading branch information
Vicente.Yu committed Jul 10, 2024
1 parent b1e16b3 commit afc6f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions FeishuNetSdk.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/WebApplication1/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit afc6f16

Please sign in to comment.