commit fb4e048302759bef51dc34219c7ec22c2ef18123
Author: wyl3130 <3130921046@qq.com>
Date: Sun Jun 15 11:49:34 2025 +0800
添加项目文件。
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..fe1152b
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,30 @@
+**/.classpath
+**/.dockerignore
+**/.env
+**/.git
+**/.gitignore
+**/.project
+**/.settings
+**/.toolstarget
+**/.vs
+**/.vscode
+**/*.*proj.user
+**/*.dbmdl
+**/*.jfm
+**/azds.yaml
+**/bin
+**/charts
+**/docker-compose*
+**/Dockerfile*
+**/node_modules
+**/npm-debug.log
+**/obj
+**/secrets.dev.yaml
+**/values.dev.yaml
+LICENSE
+README.md
+!**/.gitignore
+!.git/HEAD
+!.git/config
+!.git/packed-refs
+!.git/refs/heads/**
\ No newline at end of file
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..1ff0c42
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,63 @@
+###############################################################################
+# Set default behavior to automatically normalize line endings.
+###############################################################################
+* text=auto
+
+###############################################################################
+# Set default behavior for command prompt diff.
+#
+# This is need for earlier builds of msysgit that does not have it on by
+# default for csharp files.
+# Note: This is only used by command line
+###############################################################################
+#*.cs diff=csharp
+
+###############################################################################
+# Set the merge driver for project and solution files
+#
+# Merging from the command prompt will add diff markers to the files if there
+# are conflicts (Merging from VS is not affected by the settings below, in VS
+# the diff markers are never inserted). Diff markers may cause the following
+# file extensions to fail to load in VS. An alternative would be to treat
+# these files as binary and thus will always conflict and require user
+# intervention with every merge. To do so, just uncomment the entries below
+###############################################################################
+#*.sln merge=binary
+#*.csproj merge=binary
+#*.vbproj merge=binary
+#*.vcxproj merge=binary
+#*.vcproj merge=binary
+#*.dbproj merge=binary
+#*.fsproj merge=binary
+#*.lsproj merge=binary
+#*.wixproj merge=binary
+#*.modelproj merge=binary
+#*.sqlproj merge=binary
+#*.wwaproj merge=binary
+
+###############################################################################
+# behavior for image files
+#
+# image files are treated as binary by default.
+###############################################################################
+#*.jpg binary
+#*.png binary
+#*.gif binary
+
+###############################################################################
+# diff behavior for common document formats
+#
+# Convert binary document formats to text before diffing them. This feature
+# is only available from the command line. Turn it on by uncommenting the
+# entries below.
+###############################################################################
+#*.doc diff=astextplain
+#*.DOC diff=astextplain
+#*.docx diff=astextplain
+#*.DOCX diff=astextplain
+#*.dot diff=astextplain
+#*.DOT diff=astextplain
+#*.pdf diff=astextplain
+#*.PDF diff=astextplain
+#*.rtf diff=astextplain
+#*.RTF diff=astextplain
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9491a2f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,363 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Oo]ut/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
\ No newline at end of file
diff --git a/CloudTrade-Multi-End.sln b/CloudTrade-Multi-End.sln
new file mode 100644
index 0000000..97d7827
--- /dev/null
+++ b/CloudTrade-Multi-End.sln
@@ -0,0 +1,119 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.14.35821.62
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Server", "Server", "{63F83795-5AC1-4F2E-944E-6BAA4564A527}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Application", "src\CloudTrade.Application\CloudTrade.Application.csproj", "{1BCCD4FB-D372-49BA-A931-7E296A5DDCC6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Domain", "src\CloudTrade.Domain\CloudTrade.Domain.csproj", "{4C8B2F61-B2A2-422A-B617-6774BE2ADFAF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Domain.Share", "src\CloudTrade.Domain.Share\CloudTrade.Domain.Share.csproj", "{A5552E11-6939-4CEB-8807-20F7992645BF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.SqlSugarCore", "src\CloudTrade.SqlSugarCore\CloudTrade.SqlSugarCore.csproj", "{0E89EE31-F47F-4430-AADE-7755A1A52E8E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Application.Contracts", "src\CloudTrade.Application.Contracts\CloudTrade.Application.Contracts.csproj", "{21EAE4CE-9165-4255-BD2A-6E48227146A6}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{C5890CD7-2A98-4B0B-9B63-10E807507E11}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platform", "Platform", "{CF0B3CA5-8745-413A-9F98-AB5949549DA0}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "test\WebApplication1\WebApplication1.csproj", "{3C1E0739-4FED-4BA6-AD5F-35F461EB09DC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.HttpApi.Host", "src\CloudTrade.HttpApi.Host\CloudTrade.HttpApi.Host.csproj", "{832774E4-5A31-408C-B581-86B787D5F2B8}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade", "src\CloudTrade\CloudTrade\CloudTrade.csproj", "{2D9FF8A9-D9B0-46F9-B979-481881DD7A8F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Android", "src\CloudTrade\CloudTrade.Android\CloudTrade.Android.csproj", "{CFCF43F8-D02C-4EB2-BC33-50E0668A4306}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Desktop", "src\CloudTrade\CloudTrade.Desktop\CloudTrade.Desktop.csproj", "{2F0DC098-57DC-46E2-BEE7-5B843A7D216B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.iOS", "src\CloudTrade\CloudTrade.iOS\CloudTrade.iOS.csproj", "{F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudTrade.Browser", "src\CloudTrade\CloudTrade.Browser\CloudTrade.Browser.csproj", "{E0F0CBFC-DC53-4984-9C0D-614BF85E778B}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {1BCCD4FB-D372-49BA-A931-7E296A5DDCC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1BCCD4FB-D372-49BA-A931-7E296A5DDCC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1BCCD4FB-D372-49BA-A931-7E296A5DDCC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1BCCD4FB-D372-49BA-A931-7E296A5DDCC6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4C8B2F61-B2A2-422A-B617-6774BE2ADFAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4C8B2F61-B2A2-422A-B617-6774BE2ADFAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4C8B2F61-B2A2-422A-B617-6774BE2ADFAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4C8B2F61-B2A2-422A-B617-6774BE2ADFAF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A5552E11-6939-4CEB-8807-20F7992645BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A5552E11-6939-4CEB-8807-20F7992645BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A5552E11-6939-4CEB-8807-20F7992645BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A5552E11-6939-4CEB-8807-20F7992645BF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0E89EE31-F47F-4430-AADE-7755A1A52E8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0E89EE31-F47F-4430-AADE-7755A1A52E8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0E89EE31-F47F-4430-AADE-7755A1A52E8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0E89EE31-F47F-4430-AADE-7755A1A52E8E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {21EAE4CE-9165-4255-BD2A-6E48227146A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {21EAE4CE-9165-4255-BD2A-6E48227146A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {21EAE4CE-9165-4255-BD2A-6E48227146A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {21EAE4CE-9165-4255-BD2A-6E48227146A6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3C1E0739-4FED-4BA6-AD5F-35F461EB09DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3C1E0739-4FED-4BA6-AD5F-35F461EB09DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3C1E0739-4FED-4BA6-AD5F-35F461EB09DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3C1E0739-4FED-4BA6-AD5F-35F461EB09DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {832774E4-5A31-408C-B581-86B787D5F2B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {832774E4-5A31-408C-B581-86B787D5F2B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {832774E4-5A31-408C-B581-86B787D5F2B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {832774E4-5A31-408C-B581-86B787D5F2B8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2D9FF8A9-D9B0-46F9-B979-481881DD7A8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D9FF8A9-D9B0-46F9-B979-481881DD7A8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D9FF8A9-D9B0-46F9-B979-481881DD7A8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D9FF8A9-D9B0-46F9-B979-481881DD7A8F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ {2F0DC098-57DC-46E2-BEE7-5B843A7D216B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2F0DC098-57DC-46E2-BEE7-5B843A7D216B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2F0DC098-57DC-46E2-BEE7-5B843A7D216B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2F0DC098-57DC-46E2-BEE7-5B843A7D216B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ {E0F0CBFC-DC53-4984-9C0D-614BF85E778B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E0F0CBFC-DC53-4984-9C0D-614BF85E778B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E0F0CBFC-DC53-4984-9C0D-614BF85E778B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E0F0CBFC-DC53-4984-9C0D-614BF85E778B}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {63F83795-5AC1-4F2E-944E-6BAA4564A527} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
+ {1BCCD4FB-D372-49BA-A931-7E296A5DDCC6} = {63F83795-5AC1-4F2E-944E-6BAA4564A527}
+ {4C8B2F61-B2A2-422A-B617-6774BE2ADFAF} = {63F83795-5AC1-4F2E-944E-6BAA4564A527}
+ {A5552E11-6939-4CEB-8807-20F7992645BF} = {63F83795-5AC1-4F2E-944E-6BAA4564A527}
+ {0E89EE31-F47F-4430-AADE-7755A1A52E8E} = {63F83795-5AC1-4F2E-944E-6BAA4564A527}
+ {21EAE4CE-9165-4255-BD2A-6E48227146A6} = {63F83795-5AC1-4F2E-944E-6BAA4564A527}
+ {CF0B3CA5-8745-413A-9F98-AB5949549DA0} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
+ {3C1E0739-4FED-4BA6-AD5F-35F461EB09DC} = {C5890CD7-2A98-4B0B-9B63-10E807507E11}
+ {832774E4-5A31-408C-B581-86B787D5F2B8} = {63F83795-5AC1-4F2E-944E-6BAA4564A527}
+ {2D9FF8A9-D9B0-46F9-B979-481881DD7A8F} = {CF0B3CA5-8745-413A-9F98-AB5949549DA0}
+ {CFCF43F8-D02C-4EB2-BC33-50E0668A4306} = {CF0B3CA5-8745-413A-9F98-AB5949549DA0}
+ {2F0DC098-57DC-46E2-BEE7-5B843A7D216B} = {CF0B3CA5-8745-413A-9F98-AB5949549DA0}
+ {F19A9E19-1A3C-44C6-A396-A0A1FFD9636F} = {CF0B3CA5-8745-413A-9F98-AB5949549DA0}
+ {E0F0CBFC-DC53-4984-9C0D-614BF85E778B} = {CF0B3CA5-8745-413A-9F98-AB5949549DA0}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {D67AC370-FB17-477C-A459-EB3CED13265A}
+ EndGlobalSection
+EndGlobal
diff --git a/src/CloudTrade.Application.Contracts/CloudTrade.Application.Contracts.csproj b/src/CloudTrade.Application.Contracts/CloudTrade.Application.Contracts.csproj
new file mode 100644
index 0000000..125f4c9
--- /dev/null
+++ b/src/CloudTrade.Application.Contracts/CloudTrade.Application.Contracts.csproj
@@ -0,0 +1,9 @@
+
+
+
+ net9.0
+ enable
+ enable
+
+
+
diff --git a/src/CloudTrade.Application.Contracts/IUserService.cs b/src/CloudTrade.Application.Contracts/IUserService.cs
new file mode 100644
index 0000000..6d7d7ca
--- /dev/null
+++ b/src/CloudTrade.Application.Contracts/IUserService.cs
@@ -0,0 +1,7 @@
+namespace CloudTrade.Application.Contracts
+{
+ public interface IUserService
+ {
+ string LoginAsync();
+ }
+}
diff --git a/src/CloudTrade.Application/CloudTrade.Application.csproj b/src/CloudTrade.Application/CloudTrade.Application.csproj
new file mode 100644
index 0000000..81f85da
--- /dev/null
+++ b/src/CloudTrade.Application/CloudTrade.Application.csproj
@@ -0,0 +1,13 @@
+
+
+
+ net9.0
+ enable
+ enable
+
+
+
+
+
+
+
diff --git a/src/CloudTrade.Application/UserService.cs b/src/CloudTrade.Application/UserService.cs
new file mode 100644
index 0000000..35217c7
--- /dev/null
+++ b/src/CloudTrade.Application/UserService.cs
@@ -0,0 +1,12 @@
+using CloudTrade.Application.Contracts;
+
+namespace CloudTrade.Application
+{
+ public class UserService : IUserService
+ {
+ public string LoginAsync()
+ {
+ return "admin";
+ }
+ }
+}
diff --git a/src/CloudTrade.Domain.Share/CloudTrade.Domain.Share.csproj b/src/CloudTrade.Domain.Share/CloudTrade.Domain.Share.csproj
new file mode 100644
index 0000000..50a72cf
--- /dev/null
+++ b/src/CloudTrade.Domain.Share/CloudTrade.Domain.Share.csproj
@@ -0,0 +1,18 @@
+
+
+
+ net9.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/CloudTrade.Domain.Share/Response.cs b/src/CloudTrade.Domain.Share/Response.cs
new file mode 100644
index 0000000..4912c90
--- /dev/null
+++ b/src/CloudTrade.Domain.Share/Response.cs
@@ -0,0 +1,44 @@
+namespace CloudTrade.Domain.Share
+{
+ public class Response
+ {
+ // 是否成功,默认为 true
+ public bool Success { get; set; } = true;
+
+ // 响应消息
+ public string Message { get; set; }
+
+ // 异常码
+ public string ErrorCode { get; set; }
+
+ // 响应数据
+ public T Data { get; set; }
+
+ // =================================== 成功响应 ===================================
+ public static Response SuccessResponse()
+ {
+ return new Response();
+ }
+
+ public static Response SuccessResponse(T data)
+ {
+ return new Response { Data = data };
+ }
+
+ // =================================== 失败响应 ===================================
+ public static Response FailResponse()
+ {
+ return new Response { Success = false };
+ }
+
+ public static Response FailResponse(string errorMessage)
+ {
+ return new Response { Success = false, Message = errorMessage };
+ }
+
+ public static Response FailResponse(string errorCode, string errorMessage)
+ {
+ return new Response { Success = false, ErrorCode = errorCode, Message = errorMessage };
+ }
+ }
+}
diff --git a/src/CloudTrade.Domain.Share/log4net.config b/src/CloudTrade.Domain.Share/log4net.config
new file mode 100644
index 0000000..1764acf
--- /dev/null
+++ b/src/CloudTrade.Domain.Share/log4net.config
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/CloudTrade.Domain/Class1.cs b/src/CloudTrade.Domain/Class1.cs
new file mode 100644
index 0000000..a3c2252
--- /dev/null
+++ b/src/CloudTrade.Domain/Class1.cs
@@ -0,0 +1,7 @@
+namespace CloudTrade.Domain
+{
+ public class Class1
+ {
+
+ }
+}
diff --git a/src/CloudTrade.Domain/CloudTrade.Domain.csproj b/src/CloudTrade.Domain/CloudTrade.Domain.csproj
new file mode 100644
index 0000000..125f4c9
--- /dev/null
+++ b/src/CloudTrade.Domain/CloudTrade.Domain.csproj
@@ -0,0 +1,9 @@
+
+
+
+ net9.0
+ enable
+ enable
+
+
+
diff --git a/src/CloudTrade.HttpApi.Host/CloudTrade.HttpApi.Host.csproj b/src/CloudTrade.HttpApi.Host/CloudTrade.HttpApi.Host.csproj
new file mode 100644
index 0000000..1c7713a
--- /dev/null
+++ b/src/CloudTrade.HttpApi.Host/CloudTrade.HttpApi.Host.csproj
@@ -0,0 +1,30 @@
+
+
+
+ net9.0
+ enable
+ enable
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/CloudTrade.HttpApi.Host/CloudTrade.HttpApi.Host.http b/src/CloudTrade.HttpApi.Host/CloudTrade.HttpApi.Host.http
new file mode 100644
index 0000000..392850f
--- /dev/null
+++ b/src/CloudTrade.HttpApi.Host/CloudTrade.HttpApi.Host.http
@@ -0,0 +1,6 @@
+@CloudTrade.HttpApi.Host_HostAddress = http://localhost:5181
+
+GET {{CloudTrade.HttpApi.Host_HostAddress}}/weatherforecast/
+Accept: application/json
+
+###
diff --git a/src/CloudTrade.HttpApi.Host/Controllers/AccountController.cs b/src/CloudTrade.HttpApi.Host/Controllers/AccountController.cs
new file mode 100644
index 0000000..6b281d1
--- /dev/null
+++ b/src/CloudTrade.HttpApi.Host/Controllers/AccountController.cs
@@ -0,0 +1,38 @@
+using CloudTrade.Domain.Share;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Options;
+
+namespace CloudTrade.HttpApi.Host.Controllers
+{
+ [Route("api/[controller]/[action]")]
+ [ApiController]
+ public class AccountController : ControllerBase
+ {
+ private readonly TokenManagement tokenManagement;
+ public AccountController(IOptions tokenManagement)
+ {
+ this.tokenManagement = tokenManagement.Value;
+ }
+
+ [HttpPost]
+ public IActionResult Login(string UserName,string PassWord)
+ {
+ if (UserName == "admin" && PassWord == "admin")
+ {
+ // 模拟生成 JWT Token
+ var token = JwtHelper.GetToken("admin","admin",tokenManagement.Secret,tokenManagement.Issuer,tokenManagement.Audience,tokenManagement.AccessExpiration);
+ return Ok(new Response