Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .vs/slnx.sqlite
Binary file not shown.
Binary file added RC/.vs/RC/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
973 changes: 973 additions & 0 deletions RC/.vs/RC/config/applicationhost.config

Large diffs are not rendered by default.

Binary file modified RC/.vs/RC/v16/.suo
Binary file not shown.
47 changes: 47 additions & 0 deletions RC/Rs.Common/Utils.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rs.Common
{
public class Utils
{
/// <summary>
/// 系统绝对目录
/// </summary>
public static string RootDictionaryPath { get; set; } = AppContext.BaseDirectory;
/// <summary>
/// 系统虚拟目录
/// </summary>
/// <param name="virtualPath"></param>
/// <returns></returns>
public static string ContentRootMapPath(string virtualPath)
{
if (string.IsNullOrEmpty(virtualPath))
{
return string.Empty;
}
else
{
var path = Path.DirectorySeparatorChar.ToString();
var altPath = Path.AltDirectorySeparatorChar.ToString();
if (!RootDictionaryPath.EndsWith(path) && !RootDictionaryPath.EndsWith(altPath))
{
RootDictionaryPath += path;
}

if (virtualPath.StartsWith("~/"))
{
return virtualPath.Replace("~/", RootDictionaryPath).Replace("/", path);
}
else
{
return Path.Combine(RootDictionaryPath, virtualPath);
}
}
}
}
}
23 changes: 23 additions & 0 deletions RC/Rs.Common/bin/Debug/net5.0/Rs.Common.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"Rs.Common/1.0.0": {
"runtime": {
"Rs.Common.dll": {}
}
}
}
},
"libraries": {
"Rs.Common/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added RC/Rs.Common/bin/Debug/net5.0/Rs.Common.dll
Binary file not shown.
Binary file added RC/Rs.Common/bin/Debug/net5.0/Rs.Common.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d659860bb34e5f7ec981bde18be81f68f849a318
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
D:\RC\RC\Rs.Common\bin\Debug\net5.0\Rs.Common.deps.json
D:\RC\RC\Rs.Common\bin\Debug\net5.0\Rs.Common.dll
D:\RC\RC\Rs.Common\bin\Debug\net5.0\ref\Rs.Common.dll
D:\RC\RC\Rs.Common\bin\Debug\net5.0\Rs.Common.pdb
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.GeneratedMSBuildEditorConfig.editorconfig
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.AssemblyInfoInputs.cache
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.AssemblyInfo.cs
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.csproj.CoreCompileInputs.cache
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.dll
D:\RC\RC\Rs.Common\obj\Debug\net5.0\ref\Rs.Common.dll
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.pdb
D:\RC\RC\Rs.Common\obj\Debug\net5.0\Rs.Common.csprojAssemblyReference.cache
Binary file not shown.
Binary file added RC/Rs.Common/obj/Debug/net5.0/Rs.Common.dll
Binary file not shown.
Binary file added RC/Rs.Common/obj/Debug/net5.0/Rs.Common.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
15 changes: 15 additions & 0 deletions RC/Rs.Config/BaseConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rs.Config
{
/// <summary>
/// 配置文件基类
/// </summary>
public abstract class BaseConfig
{
}
}
43 changes: 43 additions & 0 deletions RC/Rs.Config/CompanyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rs.Config
{
/// <summary>
/// 公司基本信息
/// </summary>
public sealed class CompanyInfo
{
/// <summary>
/// 公司名字
/// </summary>
public string Name { get; set; } = "川渝软件开发工作室有限责任公司";
/// <summary>
/// 公司所在地址
/// </summary>
public string Address { get; set; } = "平昌县鹿鸣镇向氏集团13楼22号";
/// <summary>
/// 公司所在地邮政编码
/// </summary>
public string PostCode { get; set; } = "640014";
/// <summary>
/// 服务电话,多个电话用'|'分开
/// </summary>
public string ServerPhone { get; set; } = "15828469068|0827-6818083|028-86131401";
/// <summary>
/// 投诉电话
/// </summary>
public string ComplainPhone { get; set; } = "12345";
/// <summary>
/// 传真
/// </summary>
public string Fax { get; set; }
/// <summary>
/// Emil
/// </summary>
public string Email { get; set; } = "527883283@qq.com";
}
}
21 changes: 21 additions & 0 deletions RC/Rs.Config/DbConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rs.Config
{
[Serializable]
/// <summary>
/// 数据库配置
/// </summary>
public sealed class DbConfig:BaseConfig
{
public string Host { get; set; }
public string Port { get; set; }
public string Name { get; set; }
public string UserName { get; set; }
public string PassWord { get; set; }
}
}
32 changes: 32 additions & 0 deletions RC/Rs.Config/RsConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rs.Config
{
[Serializable]
/// <summary>
/// 系统配置对象
/// </summary>
public sealed class RsConfig:BaseConfig
{
/// <summary>
/// 加密字符串
/// </summary>
public string Encrpy { get; set; }
/// <summary>
/// 系统路径
/// </summary>
public string ApplicationPath { get; set; } = "/";
/// <summary>
/// 文件上传路径
/// </summary>
public string UpLoadPath { get; set; } = "~/Upload";
/// <summary>
/// 公司信息
/// </summary>
public CompanyInfo CompanyInfo { get; set; } = new CompanyInfo();
}
}
44 changes: 44 additions & 0 deletions RC/Rs.Config/SiteConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rs.Config
{
[Serializable]
/// <summary>
/// 系统配置
/// </summary>
public sealed class SiteConfig:BaseConfig
{
/// <summary>
/// 系统名称
/// </summary>
public string SiteName { get; set; } = "川渝人才网|川渝两地专业的人才网";
/// <summary>
/// 系统域名
/// </summary>
public string Http { get; set; } = "CyRc.com";
/// <summary>
/// 系统SEO优化,关键字
/// </summary>
public string KeyWords { get; set; } = "川渝人才,川渝人才网,大四川大重庆人才网,四川招聘,重庆招聘,CyRc.com,成渝找工作";
/// <summary>
/// 系统SEO优化,描述
/// </summary>
public string Description { get; set; } = "川渝人才网是四川重庆两地人才求职和大四川大重庆企业招聘最佳选择,作为川渝人才网更专注于四川重庆两地网络招聘和人才精英的选拔,给企业部门提供精确人才简历查询,让四川、重庆两地人才透过职位搜索功能查阅川渝人才市场动态行情,正确的测评四川重庆两地人才能力等。";
/// <summary>
/// 电信业务经营许可证
/// </summary>
public string ICPLience { get; set; }
/// <summary>
/// 网站备案号
/// </summary>
public string WRNCode { get; set; }
/// <summary>
/// 网公安备案号
/// </summary>
public string IPSCode { get; set; }
}
}
Binary file added RC/Rs.Config/bin/Debug/net5.0/Rs.Common.dll
Binary file not shown.
Binary file added RC/Rs.Config/bin/Debug/net5.0/Rs.Common.pdb
Binary file not shown.
36 changes: 36 additions & 0 deletions RC/Rs.Config/bin/Debug/net5.0/Rs.Config.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"Rs.Config/1.0.0": {
"dependencies": {
"Rs.Common": "1.0.0"
},
"runtime": {
"Rs.Config.dll": {}
}
},
"Rs.Common/1.0.0": {
"runtime": {
"Rs.Common.dll": {}
}
}
}
},
"libraries": {
"Rs.Config/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Rs.Common/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added RC/Rs.Config/bin/Debug/net5.0/Rs.Config.dll
Binary file not shown.
Binary file added RC/Rs.Config/bin/Debug/net5.0/Rs.Config.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
47b59c1219a91a37f267d683e7655c28090f60c1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
D:\RC\RC\Rs.Config\bin\Debug\net5.0\Rs.Config.deps.json
D:\RC\RC\Rs.Config\bin\Debug\net5.0\Rs.Config.dll
D:\RC\RC\Rs.Config\bin\Debug\net5.0\ref\Rs.Config.dll
D:\RC\RC\Rs.Config\bin\Debug\net5.0\Rs.Config.pdb
D:\RC\RC\Rs.Config\bin\Debug\net5.0\Rs.Common.dll
D:\RC\RC\Rs.Config\bin\Debug\net5.0\Rs.Common.pdb
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.csprojAssemblyReference.cache
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.GeneratedMSBuildEditorConfig.editorconfig
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.AssemblyInfoInputs.cache
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.AssemblyInfo.cs
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.csproj.CoreCompileInputs.cache
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.csproj.CopyComplete
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.dll
D:\RC\RC\Rs.Config\obj\Debug\net5.0\ref\Rs.Config.dll
D:\RC\RC\Rs.Config\obj\Debug\net5.0\Rs.Config.pdb
Binary file not shown.
Binary file added RC/Rs.Config/obj/Debug/net5.0/Rs.Config.dll
Binary file not shown.
Binary file added RC/Rs.Config/obj/Debug/net5.0/Rs.Config.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
Binary file not shown.
Binary file added RC/Rs.DataBase/bin/Debug/net5.0/Rs.Common.dll
Binary file not shown.
Binary file added RC/Rs.DataBase/bin/Debug/net5.0/Rs.Common.pdb
Binary file not shown.
Binary file added RC/Rs.DataBase/bin/Debug/net5.0/Rs.Config.dll
Binary file not shown.
Binary file added RC/Rs.DataBase/bin/Debug/net5.0/Rs.Config.pdb
Binary file not shown.
50 changes: 50 additions & 0 deletions RC/Rs.DataBase/bin/Debug/net5.0/Rs.DataBase.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"Rs.DataBase/1.0.0": {
"dependencies": {
"Rs.Common": "1.0.0",
"Rs.Config": "1.0.0"
},
"runtime": {
"Rs.DataBase.dll": {}
}
},
"Rs.Common/1.0.0": {
"runtime": {
"Rs.Common.dll": {}
}
},
"Rs.Config/1.0.0": {
"dependencies": {
"Rs.Common": "1.0.0"
},
"runtime": {
"Rs.Config.dll": {}
}
}
}
},
"libraries": {
"Rs.DataBase/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Rs.Common/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Rs.Config/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added RC/Rs.DataBase/bin/Debug/net5.0/Rs.DataBase.dll
Binary file not shown.
Binary file added RC/Rs.DataBase/bin/Debug/net5.0/Rs.DataBase.pdb
Binary file not shown.
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
95f27958bf700f59726fb1bfe52028ba2ad9e205
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.DataBase.deps.json
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.DataBase.dll
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\ref\Rs.DataBase.dll
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.DataBase.pdb
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.Common.dll
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.Config.dll
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.Common.pdb
D:\RC\RC\Rs.DataBase\bin\Debug\net5.0\Rs.Config.pdb
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.csprojAssemblyReference.cache
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.GeneratedMSBuildEditorConfig.editorconfig
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.AssemblyInfoInputs.cache
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.AssemblyInfo.cs
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.csproj.CoreCompileInputs.cache
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.csproj.CopyComplete
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.dll
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\ref\Rs.DataBase.dll
D:\RC\RC\Rs.DataBase\obj\Debug\net5.0\Rs.DataBase.pdb
Binary file not shown.
Binary file added RC/Rs.DataBase/obj/Debug/net5.0/Rs.DataBase.dll
Binary file not shown.
Binary file added RC/Rs.DataBase/obj/Debug/net5.0/Rs.DataBase.pdb
Binary file not shown.
Binary file not shown.
Loading