Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
24be6d1b
Commit
24be6d1b
authored
Apr 21, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件修改
parent
a2d80ca9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
60 deletions
+10
-60
DataConstant.cs
Mall/Mall.CacheManager/DataStatistic/DataConstant.cs
+1
-47
Mall.DataHelper.csproj
Mall/Mall.DataHelper/Mall.DataHelper.csproj
+6
-4
appsettings.json
Mall/Mall.WebApi/appsettings.json
+3
-9
No files found.
Mall/Mall.CacheManager/DataStatistic/DataConstant.cs
View file @
24be6d1b
...
...
@@ -11,58 +11,12 @@ namespace Mall.CacheManager.DataStatistic
/// </summary>
public
class
DataConstant
{
/// <summary>
/// 使用redis第几号库
/// </summary>
public
static
readonly
int
REDIS_DB
=
1
;
/// <summary>
/// 使用redis第几号库
/// </summary>
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
}
}
Mall/Mall.DataHelper/Mall.DataHelper.csproj
View file @
24be6d1b
...
...
@@ -4,6 +4,12 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Import\**" />
<EmbeddedResource Remove="Import\**" />
<None Remove="Import\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Autofac" Version="4.9.4" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
...
...
@@ -15,8 +21,4 @@
<ProjectReference Include="..\Mall.Model\Mall.Model.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Import\" />
</ItemGroup>
</Project>
Mall/Mall.WebApi/appsettings.json
View file @
24be6d1b
...
...
@@ -2,7 +2,6 @@
"ConnectionStrings"
:
{
"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"
},
"Logging"
:
{
"LogLevel"
:
{
...
...
@@ -14,23 +13,18 @@
"JwtSecretKey"
:
"@VIITTOREBORN*2018"
,
"JwtExpirTime"
:
2592000
,
"ApiExpirTime"
:
2592000
,
"AdminId"
:
0
,
"AllowedHosts"
:
"*"
,
"OpenValidation"
:
"False"
,
"UploadSiteUrl"
:
"http://192.168.2.214:8120"
,
"ViewFileSiteUrl"
:
"http://192.168.2.214:8130"
,
"H5Domain"
:
"http://localhost:59823/"
,
"ImKey"
:
"b612b31e837c79c68f141aeb719d2b20"
,
"ImSecret"
:
"66000451fb72"
,
"RebornDMC"
:
"reborn_dmc"
,
"RebornSell"
:
"reborn_sell"
,
"Mongo"
:
"mongodb://192.168.2.214:27017"
,
"MongoDBName"
:
"DMC"
,
"LeaderguidepostId"
:
"16,19"
,
"MongoDBName"
:
"Mall"
,
"RedisSetting"
:
{
"RedisServer"
:
"
47.96.23.199
"
,
"RedisServer"
:
"
192.168.2.214
"
,
"RedisPort"
:
"6379"
,
"RedisPwd"
:
"
Viitto2018
"
"RedisPwd"
:
"
123456
"
},
"VirtualDirectory"
:
"WebFile"
,
"FileService"
:
"2"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment