记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
0a0f4c7e
Commit
0a0f4c7e
authored
Mar 06, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 redis 添加 购物车消费
parent
f5194062
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
31 deletions
+31
-31
application-test.yml
liquidnet-bus-config/liquidnet-config/application-test.yml
+1
-1
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+2
-2
mongo_db_ddl.sql
...oblin/liquidnet-service-goblin-impl/docu/mongo_db_ddl.sql
+28
-28
No files found.
liquidnet-bus-config/liquidnet-config/application-test.yml
View file @
0a0f4c7e
...
...
@@ -77,7 +77,7 @@ liquidnet:
host
:
s-2zeb52774ceac644.mongodb.rds.aliyuncs.com:3717,s-2ze8994d25d37d74.mongodb.rds.aliyuncs.com:3717
port
:
3717
user
:
admin
pwd
:
Zhengzai%402022
pwd
:
Qwer1234
service
:
adam
:
url-pay
:
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
0a0f4c7e
...
...
@@ -848,8 +848,8 @@ create table goblin_self_marketing
(
mid
bigint
unsigned
auto_increment
primary
key
,
self_market_id
varchar
(
64
)
default
''
comment
'官方营销表id'
,
performance_id
varchar
(
128
)
default
''
comment
'演出id'
performance_img
varchar
(
128
)
default
''
comment
'演出图片'
performance_id
varchar
(
128
)
default
''
comment
'演出id'
,
performance_img
varchar
(
128
)
default
''
comment
'演出图片'
,
name
varchar
(
64
)
default
''
comment
'营销名称'
,
type
int
default
0
comment
'营销类型[1-正在下单]'
,
status
int
default
0
comment
'活动状态[-1-全部|0-等待开始|1-活动中|2-活动结束|7-停用]'
,
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/mongo_db_ddl.sql
View file @
0a0f4c7e
use
dev
_ln_scene
;
use
test
_ln_scene
;
//
==================================================
创建集合
db
.
createCollection
(
"GoblinSelfGoodsCategoryVo"
);
db
.
createCollection
(
"GoblinStoreGoodsCategoryVo"
);
...
...
@@ -29,34 +29,34 @@ db.createCollection("GoblinOrderSkuVo");
db
.
createCollection
(
"GoblinSelfMarketingVo"
);
db
.
createCollection
(
"GoblinStoreOrderVo"
);
//
==================================================
创建分片
sh
.
enableSharding
(
"
dev
_ln_scene"
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinSelfGoodsCategoryVo"
,
{
"cateId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinStoreGoodsCategoryVo"
,
{
"cateId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinMgtCategorySpecVo"
,
{
"cateId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinSelfTagVo"
,
{
"tagId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinServiceSupportVo"
,
{
"ssid"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinStoreNoticeVo"
,
{
"noticeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinStoreConfigVo"
,
{
"storeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinStoreInfoVo"
,
{
"storeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinGoodsInfoVo"
,
{
"spuId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinGoodsSkuInfoVo"
,
{
"skuId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinStoreCouponBasicVo"
,
{
"storeCouponId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinUserCouponVo"
,
{
"ucouponId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontBanner"
,
{
"bannerId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontCube"
,
{
"cubeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontHotWord"
,
{
"hotWordId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontMoudleIndex"
,
{
"moudleIndexId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontNavigation"
,
{
"navigationId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontSeckill"
,
{
"seckilId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinFrontSelectGoods"
,
{
"selectGoodsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
dev
_ln_scene.GoblinShoppingCartVoo"
,
{
"goblinShoppingCartId"
:
"hashed"
}
);
sh
.
enableSharding
(
"
test
_ln_scene"
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinSelfGoodsCategoryVo"
,
{
"cateId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinStoreGoodsCategoryVo"
,
{
"cateId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinMgtCategorySpecVo"
,
{
"cateId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinSelfTagVo"
,
{
"tagId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinServiceSupportVo"
,
{
"ssid"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinStoreNoticeVo"
,
{
"noticeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinStoreConfigVo"
,
{
"storeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinStoreInfoVo"
,
{
"storeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinGoodsInfoVo"
,
{
"spuId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinGoodsSkuInfoVo"
,
{
"skuId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinStoreCouponBasicVo"
,
{
"storeCouponId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinUserCouponVo"
,
{
"ucouponId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontBanner"
,
{
"bannerId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontCube"
,
{
"cubeId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontHotWord"
,
{
"hotWordId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontMoudleIndex"
,
{
"moudleIndexId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontNavigation"
,
{
"navigationId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontSeckill"
,
{
"seckilId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinFrontSelectGoods"
,
{
"selectGoodsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test
_ln_scene.GoblinShoppingCartVoo"
,
{
"goblinShoppingCartId"
:
"hashed"
}
);
sh
.
createCollection
(
"
dev
_ln_scene.GoblinBackOrderVo"
,
{
"backOrderId"
:
"hashed"
}
);
sh
.
createCollection
(
"
dev
_ln_scene.GoblinMailVo"
,
{
"mailId"
:
"hashed"
}
);
sh
.
createCollection
(
"
dev
_ln_scene.GoblinMarketingZhengzaiRelationVo"
,
{
"selfMarketId"
:
"hashed"
}
);
sh
.
createCollection
(
"
dev
_ln_scene.GoblinOrderLogVo"
,
{
"selfMarketId"
:
"hashed"
}
);
sh
.
createCollection
(
"
dev
_ln_scene.GoblinOrderSkuVo"
,
{
"selfMarketId"
:
"hashed"
}
);
sh
.
createCollection
(
"
dev
_ln_scene.GoblinStoreOrderVo"
,
{
"orderId"
:
"hashed"
}
);
sh
.
createCollection
(
"
test
_ln_scene.GoblinBackOrderVo"
,
{
"backOrderId"
:
"hashed"
}
);
sh
.
createCollection
(
"
test
_ln_scene.GoblinMailVo"
,
{
"mailId"
:
"hashed"
}
);
sh
.
createCollection
(
"
test
_ln_scene.GoblinMarketingZhengzaiRelationVo"
,
{
"selfMarketId"
:
"hashed"
}
);
sh
.
createCollection
(
"
test
_ln_scene.GoblinOrderLogVo"
,
{
"selfMarketId"
:
"hashed"
}
);
sh
.
createCollection
(
"
test
_ln_scene.GoblinOrderSkuVo"
,
{
"selfMarketId"
:
"hashed"
}
);
sh
.
createCollection
(
"
test
_ln_scene.GoblinStoreOrderVo"
,
{
"orderId"
:
"hashed"
}
);
//
==================================================
创建索引
db
.
GoblinStoreGoodsCategoryVo
.
createIndex
(
{
storeId
:
"hashed"
}
);
db
.
GoblinMgtCategorySpecVo
.
createIndex
(
{
cateId
:
"hashed"
}
);
...
...
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