Commit 24be6d1b authored by 黄奎's avatar 黄奎

配置文件修改

parent a2d80ca9
...@@ -11,58 +11,12 @@ namespace Mall.CacheManager.DataStatistic ...@@ -11,58 +11,12 @@ namespace Mall.CacheManager.DataStatistic
/// </summary> /// </summary>
public class DataConstant public class DataConstant
{ {
/// <summary>
/// 使用redis第几号库
/// </summary>
public static readonly int REDIS_DB = 1;
/// <summary> /// <summary>
/// 使用redis第几号库 /// 使用redis第几号库
/// </summary> /// </summary>
public static readonly int REDIS_DB2 = 2; public static readonly int REDIS_DB2 = 2;
#region 频道
/// <summary>
/// 数据变化通知频道
/// </summary>
public static readonly string DATA_CHANGE_NOTE_CHANNEL = "DATA_CHANGE_NOTE_CHANNEL";
public static readonly string DATA_B2B_CHANGE_CHANNEL = "DATA_B2B_CHANGE_CHANNEL";
#endregion
#region redis 缓存键
/// <summary>
/// 数据统计缓存前缀
/// </summary>
public static readonly string CACHE_KEY_PREFIX = "DATA_STATISTIC_";
/// <summary>
/// b2b数据统计
/// </summary>
public static readonly string CACHE_KEY_B2BSTATISTIC = "DATA_B2B_STATISTIC";
/// <summary>
/// b2b登录城市
/// </summary>
public static readonly string CACHE_KEY_B2BCityHotSTATISTIC = "DATA_B2B_CityHot_STATISTIC";
/// <summary>
/// 任务队列
/// </summary>
public static readonly string CACHE_KEY_TASK_LIST = "TASK_LIST";
/// <summary>
/// 销售额
/// </summary>
public static readonly string CACHE_KEY_SALES = "SALES";
/// <summary>
/// 热词
/// </summary>
public static readonly string CACHE_KEY_HOT_WORD = "HOT_WORD";
/// <summary>
/// 广告
/// </summary>
public static readonly string CACHE_KEY_AD = "AD";
#endregion
} }
} }
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
<TargetFramework>netcoreapp3.0</TargetFramework> <TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Compile Remove="Import\**" />
<EmbeddedResource Remove="Import\**" />
<None Remove="Import\**" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Autofac" Version="4.9.4" /> <PackageReference Include="Autofac" Version="4.9.4" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" /> <PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
...@@ -15,8 +21,4 @@ ...@@ -15,8 +21,4 @@
<ProjectReference Include="..\Mall.Model\Mall.Model.csproj" /> <ProjectReference Include="..\Mall.Model\Mall.Model.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Import\" />
</ItemGroup>
</Project> </Project>
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnection": "server=192.168.2.214;user id=reborn;password=Reborn@2018;database=reborn_mall;CharSet=utf8; Convert Zero Datetime=true; ", "DefaultConnection": "server=192.168.2.214;user id=reborn;password=Reborn@2018;database=reborn_mall;CharSet=utf8; Convert Zero Datetime=true; ",
"DefaultConnectionPName": "MySql.Data.MySqlClient" "DefaultConnectionPName": "MySql.Data.MySqlClient"
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
...@@ -14,23 +13,18 @@ ...@@ -14,23 +13,18 @@
"JwtSecretKey": "@VIITTOREBORN*2018", "JwtSecretKey": "@VIITTOREBORN*2018",
"JwtExpirTime": 2592000, "JwtExpirTime": 2592000,
"ApiExpirTime": 2592000, "ApiExpirTime": 2592000,
"AdminId": 0,
"AllowedHosts": "*", "AllowedHosts": "*",
"OpenValidation": "False", "OpenValidation": "False",
"UploadSiteUrl": "http://192.168.2.214:8120", "UploadSiteUrl": "http://192.168.2.214:8120",
"ViewFileSiteUrl": "http://192.168.2.214:8130", "ViewFileSiteUrl": "http://192.168.2.214:8130",
"H5Domain": "http://localhost:59823/",
"ImKey": "b612b31e837c79c68f141aeb719d2b20", "ImKey": "b612b31e837c79c68f141aeb719d2b20",
"ImSecret": "66000451fb72", "ImSecret": "66000451fb72",
"RebornDMC": "reborn_dmc",
"RebornSell": "reborn_sell",
"Mongo": "mongodb://192.168.2.214:27017", "Mongo": "mongodb://192.168.2.214:27017",
"MongoDBName": "DMC", "MongoDBName": "Mall",
"LeaderguidepostId": "16,19",
"RedisSetting": { "RedisSetting": {
"RedisServer": "47.96.23.199", "RedisServer": "192.168.2.214",
"RedisPort": "6379", "RedisPort": "6379",
"RedisPwd": "Viitto2018" "RedisPwd": "123456"
}, },
"VirtualDirectory": "WebFile", "VirtualDirectory": "WebFile",
"FileService": "2" "FileService": "2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment