添加项目文件。

This commit is contained in:
fuenmao
2025-09-29 13:48:36 +08:00
parent f61e922f0c
commit 5dc1780ef1
407 changed files with 63703 additions and 0 deletions
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "7.0.1",
"commands": [
"dotnet-ef"
]
}
}
}
+116
View File
@@ -0,0 +1,116 @@
{
"Env": [
{
"Name": "10楼liunx未病局测试环境",
"ServerList": [],
"LinuxServerList": [
{
"UserName": "root",
"Pwd": "DA9C12691417F47DE6F7FED4AC9DC2B0BFFAA5D2C8E3609D29A2595461736381",
"Host": "58.17.132.2:12005",
"NickName": "10楼liunx未病局测试环境",
"IIsFireUrl": null,
"DockerFireUrl": "",
"WindowsServiceFireUrl": null,
"LinuxServiceFireUrl": null
}
],
"IgnoreList": [],
"WindowsBackUpIgnoreList": []
}
],
"IIsConfig": {
"SdkType": null,
"WebSiteName": "",
"LastEnvName": null,
"EnvPairList": [
{
"EnvName": "10楼liunx未病局测试环境",
"ConfigName": "",
"LinuxEnvParam": null,
"DockerPort": null,
"DockerEnvName": null,
"DockerVolume": null,
"DockerOther": null
}
]
},
"WindowsServiveConfig": {
"ServiceName": "",
"SdkType": null,
"LastEnvName": null,
"EnvPairList": [
{
"EnvName": "10楼liunx未病局测试环境",
"ConfigName": "",
"LinuxEnvParam": null,
"DockerPort": null,
"DockerEnvName": null,
"DockerVolume": null,
"DockerOther": null
}
]
},
"LinuxServiveConfig": {
"ServiceName": "",
"EnvParam": "",
"LastEnvName": null,
"EnvPairList": [
{
"EnvName": "10楼liunx未病局测试环境",
"ConfigName": "",
"LinuxEnvParam": null,
"DockerPort": null,
"DockerEnvName": null,
"DockerVolume": null,
"DockerOther": null
}
]
},
"DockerConfig": {
"Prot": "5566:5566",
"AspNetCoreEnv": "",
"LastEnvName": "10楼liunx未病局测试环境",
"RemoveDaysFromPublished": "10",
"WorkDir": "/data/publish/medical.api",
"Volume": "/etc/localtime:/etc/localtime;/data/docker_volume/medical/api/appsettings.json:/publish/appsettings.json",
"Other": "--name medical.api --restart=always -e TZ=Asia/Shanghai",
"EnvPairList": [
{
"EnvName": "10楼liunx未病局测试环境",
"ConfigName": null,
"LinuxEnvParam": null,
"DockerPort": "5566:5566",
"DockerEnvName": "",
"DockerVolume": "/etc/localtime:/etc/localtime;/data/docker_volume/medical/api/appsettings.json:/publish/appsettings.json",
"DockerOther": "--name medical.api --restart=always -e TZ=Asia/Shanghai"
}
]
},
"DockerImageConfig": {
"BaseHttpProxy": "",
"BaseImage": "",
"BaseImageCredential": {
"UserName": "",
"Password": ""
},
"TargetImage": "",
"TargetHttpProxy": "",
"TargetTags": [
""
],
"TargetImageCredential": {
"UserName": "",
"Password": ""
},
"ImageFormat": "Docker",
"Entrypoint": [
""
],
"Cmd": [
""
],
"IgnoreList": [],
"SkipExistingImages": false
}
}
+19
View File
@@ -0,0 +1,19 @@
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
//
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
// 1.请不要删除和修改根目录下的LICENSE文件。
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
Console.WriteLine("源码地址: https://gitee.com/dotnetmoyu/SimpleAdmin");
Console.WriteLine("ts演示地址: http://153.101.199.83:12802/login");
Console.WriteLine("js演示地址: http://153.101.199.83:12801/login");
Console.WriteLine("QQ:531035580");
Console.WriteLine("简单之名,非凡之质——稳定、灵活、高效,实力不需夸耀。");
Serve.Run(RunOptions.Default.ConfigureBuilder(builder =>
{
builder.WebHost.UseUrls(builder.Configuration["AppSettings:Urls"]);
}));
@@ -0,0 +1,15 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"SimpleAdmin.Web.Entry": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "http://localhost:5566",
"applicationUrl": "http://localhost:5566",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<None Update="ip2region.db">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SimpleAdmin.Web.Core\SimpleAdmin.Web.Core.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties properties_4launchsettings_1json__JsonSchema="" />
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>SimpleAdmin.Web.Entry</name>
</assembly>
<members>
</members>
</doc>
Binary file not shown.
+37
View File
@@ -0,0 +1,37 @@
{
"AppSettings": {
"InjectSpecificationDocument": true, //是否开启swagger
"Urls": "http://0.0.0.0:5566" //监听地址
},
"AllowedHosts": "*",
//友好异常处理
"FriendlyExceptionSettings": {
"DefaultErrorMessage": "系统异常,请联系管理员",
"HideErrorCode": true
},
//动态API设备
"DynamicApiControllerSettings": {
"LowercaseRoute": false, //是否采用小写路由,bool 类型,默认 true
"KeepName": true, //是否保持原有名称不处理,bool,默认 false
"AsLowerCamelCase": true //启用小驼峰命名(首字母小写),默认 false
},
//swagger设置
"SpecificationDocumentSettings": {
"DocumentTitle": "未病局后台管理系统",
"DocExpansionState": "None",
"GroupOpenApiInfos": []
},
"CorsAccessorSettings": {
"WithExposedHeaders": [
"access-token",
"x-access-token",
"environment"
],
"SignalRSupport": true
},
//排除特定配置文件
"IgnoreConfigurationFiles": [
"seed_*.json",
]
}