记得上下班打卡 | 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
d9898212
Commit
d9898212
authored
Nov 19, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付处理openid为error问题
parent
cdd4c19d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mongo_db_ddl-prod.sql
...e/liquidnet-service-chime-impl/docu/mongo_db_ddl-prod.sql
+4
-1
PayController.java
...om/liquidnet/service/dragon/controller/PayController.java
+1
-1
No files found.
liquidnet-bus-service/liquidnet-service-chime/liquidnet-service-chime-impl/docu/mongo_db_ddl-prod.sql
View file @
d9898212
use
prod_ln_scene
;
#
创建集合
db
.
createCollection
(
"ChimeUserInfoVo"
);
db
.
createCollection
(
"ChimeUserOperLogVo"
);
#
创建索引
db
.
ChimeUserInfoVo
.
createIndex
(
{
userId
:
"hashed"
}
);
...
...
@@ -9,7 +9,10 @@ db.ChimeUserInfoVo.createIndex({sex:"hashed"});
db
.
ChimeUserInfoVo
.
createIndex
(
{
"userTagsVoList.tagCode"
:
1
}
);
db
.
ChimeUserInfoVo
.
createIndex
(
{
joinPerformanceId
:
"hashed"
}
);
db
.
ChimeUserOperLogVo
.
createIndex
(
{
currentUserId
:
"hashed"
}
);
#
创建分片
sh
.
enableSharding
(
"prod_ln_scene"
);
sh
.
shardCollection
(
"prod_ln_scene.ChimeUserInfoVo"
,
{
"userId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.ChimeUserOperLogVo"
,
{
"currentUserId"
:
"hashed"
}
);
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/controller/PayController.java
View file @
d9898212
...
...
@@ -78,7 +78,7 @@ public class PayController {
//为什么在js和applet中才需要判断open_id?
if
(
payType
.
equalsIgnoreCase
(
DragonConstant
.
PayChannelEnum
.
WEPAY
.
getCode
())){
if
(
deviceFrom
.
equalsIgnoreCase
(
DragonConstant
.
DeviceFromEnum
.
JS
.
getCode
())||
deviceFrom
.
equalsIgnoreCase
(
DragonConstant
.
DeviceFromEnum
.
APPLET
.
getCode
()))
{
if
(
StringUtil
.
isEmpty
(
openId
))
{
if
(
StringUtil
.
isEmpty
(
openId
)
||
"error"
.
equalsIgnoreCase
(
openId
)
)
{
return
ResponseDto
.
failure
(
"微信支付openId不能为空!"
);
}
}
...
...
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