Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
5b8fb16c
Commit
5b8fb16c
authored
Jul 25, 2022
by
李健华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容历史渠道前端未兼容的问题
parent
61e2bce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
UserController.java
...n/quantgroup/xyqb/controller/external/UserController.java
+1
-1
GeetestLogServiceImpl.java
...roup/xyqb/service/captcha/impl/GeetestLogServiceImpl.java
+2
-3
No files found.
src/main/java/cn/quantgroup/xyqb/controller/external/UserController.java
View file @
5b8fb16c
...
@@ -178,7 +178,7 @@ public class UserController implements IBaseController {
...
@@ -178,7 +178,7 @@ public class UserController implements IBaseController {
@RequestParam
(
required
=
false
,
defaultValue
=
""
)
String
userId
,
@RequestParam
(
required
=
false
,
defaultValue
=
""
)
String
userId
,
@RequestParam
(
required
=
false
,
defaultValue
=
"xyqb"
)
String
key
,
@RequestParam
(
required
=
false
,
defaultValue
=
"xyqb"
)
String
key
,
@RequestParam
(
required
=
false
)
String
dimension
,
@RequestParam
(
required
=
false
)
String
dimension
,
@RequestParam
Long
geetestLogId
,
@RequestParam
(
required
=
false
)
Long
geetestLogId
,
HttpServletRequest
request
)
{
HttpServletRequest
request
)
{
log
.
info
(
"login -> channelId:{},appChannel:{},createdFrom:{},userId:{},key:{},dimension:{}"
,
channelId
,
appChannel
,
createdFrom
,
userId
,
key
,
dimension
);
log
.
info
(
"login -> channelId:{},appChannel:{},createdFrom:{},userId:{},key:{},dimension:{}"
,
channelId
,
appChannel
,
createdFrom
,
userId
,
key
,
dimension
);
Merchant
merchant
=
merchantService
.
findMerchantByName
(
key
);
Merchant
merchant
=
merchantService
.
findMerchantByName
(
key
);
...
...
src/main/java/cn/quantgroup/xyqb/service/captcha/impl/GeetestLogServiceImpl.java
View file @
5b8fb16c
...
@@ -8,7 +8,6 @@ import cn.quantgroup.xyqb.service.captcha.IGeetestLogService;
...
@@ -8,7 +8,6 @@ import cn.quantgroup.xyqb.service.captcha.IGeetestLogService;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.sql.Timestamp
;
import
java.sql.Timestamp
;
...
@@ -33,8 +32,8 @@ public class GeetestLogServiceImpl implements IGeetestLogService {
...
@@ -33,8 +32,8 @@ public class GeetestLogServiceImpl implements IGeetestLogService {
geetestLogEntity
.
setPhoneNo
(
phoneNo
);
geetestLogEntity
.
setPhoneNo
(
phoneNo
);
geetestLogEntity
.
setDataSource
(
ClientType
.
valueByName
(
clientType
).
ordinal
());
geetestLogEntity
.
setDataSource
(
ClientType
.
valueByName
(
clientType
).
ordinal
());
geetestLogEntity
.
setSetting
(
SettingType
.
valueByName
(
settingType
).
ordinal
());
geetestLogEntity
.
setSetting
(
SettingType
.
valueByName
(
settingType
).
ordinal
());
geetestLogEntity
.
setChallenge
(
imgMap
.
get
(
"reChallenge
"
));
geetestLogEntity
.
setChallenge
(
imgMap
.
get
OrDefault
(
"reChallenge"
,
"
"
));
geetestLogEntity
.
setCaptchaId
(
imgMap
.
get
(
"gt
"
));
geetestLogEntity
.
setCaptchaId
(
imgMap
.
get
OrDefault
(
"gt"
,
"
"
));
geetestLogEntity
=
geetestLogRepository
.
saveAndFlush
(
geetestLogEntity
);
geetestLogEntity
=
geetestLogRepository
.
saveAndFlush
(
geetestLogEntity
);
return
geetestLogEntity
.
getId
();
return
geetestLogEntity
.
getId
();
}
}
...
...
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