From 4ef763c70bf2f406bbe4fd67dda6658cbc0b5751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=AF=85?= <2667210109@qq.com> Date: Sat, 19 Oct 2024 14:20:39 +0800 Subject: [PATCH] qqbot --- asg_form.sln | 6 - asg_form/Controllers/Dbset.cs | 12 + asg_form/Controllers/admin.cs | 25 +- .../20241019054314_qqbot1.Designer.cs | 1057 +++++++++++++++++ asg_form/Migrations/20241019054314_qqbot1.cs | 88 ++ .../Migrations/IDBcontextModelSnapshot.cs | 66 +- asg_form/Program.cs | 39 +- asg_form/asg_form.csproj | 3 + asg_form/libman.json | 5 + asg_form/qqbot.cs | 285 +++-- qqbot/sendmsg.cs | 22 + 11 files changed, 1512 insertions(+), 96 deletions(-) create mode 100644 asg_form/Migrations/20241019054314_qqbot1.Designer.cs create mode 100644 asg_form/Migrations/20241019054314_qqbot1.cs create mode 100644 asg_form/libman.json create mode 100644 qqbot/sendmsg.cs diff --git a/asg_form.sln b/asg_form.sln index bc1bca9..5e0c515 100644 --- a/asg_form.sln +++ b/asg_form.sln @@ -12,8 +12,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "解决方案项", "解决 main.md = main.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "qqbot", "qqbot\qqbot.csproj", "{48194663-D4E2-40CE-9ED0-9A7459ABA9AD}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -24,10 +22,6 @@ Global {6BBCCC2C-1B0A-4456-B9E5-B0EF2B156D8B}.Debug|Any CPU.Build.0 = Debug|Any CPU {6BBCCC2C-1B0A-4456-B9E5-B0EF2B156D8B}.Release|Any CPU.ActiveCfg = Release|Any CPU {6BBCCC2C-1B0A-4456-B9E5-B0EF2B156D8B}.Release|Any CPU.Build.0 = Release|Any CPU - {48194663-D4E2-40CE-9ED0-9A7459ABA9AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {48194663-D4E2-40CE-9ED0-9A7459ABA9AD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {48194663-D4E2-40CE-9ED0-9A7459ABA9AD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {48194663-D4E2-40CE-9ED0-9A7459ABA9AD}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/asg_form/Controllers/Dbset.cs b/asg_form/Controllers/Dbset.cs index f1dee14..c2566e5 100644 --- a/asg_form/Controllers/Dbset.cs +++ b/asg_form/Controllers/Dbset.cs @@ -16,6 +16,17 @@ using static asg_form.Controllers.InviteReferee; namespace asg_form.Controllers { + + class qquser + { + public int Id { get; set; } + + public string qqid { get; set; } + public int money { get; set; } + + + } + class FormConfig : IEntityTypeConfiguration