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
88fa6bec
Commit
88fa6bec
authored
Nov 18, 2021
by
李健华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
撞库hash
parent
37546f7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
125038 additions
and
1 deletion
+125038
-1
InnerController.java
...tgroup/xyqb/controller/internal/user/InnerController.java
+9
-1
xyqb-user2.2021-11-17-0.log
xyqb-user2.2021-11-17-0.log
+125029
-0
No files found.
src/main/java/cn/quantgroup/xyqb/controller/internal/user/InnerController.java
View file @
88fa6bec
...
...
@@ -205,7 +205,8 @@ public class InnerController implements IBaseController {
@GetMapping
(
"/user/search/hash2"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据md5(手机号)或md5(身份证号)查询用户信息"
)
public
JsonResult
findByHash
(
@RequestParam
String
md5Value
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
type
)
{
@RequestParam
(
defaultValue
=
"1"
)
Integer
type
,
@RequestParam
(
required
=
false
)
Integer
tenantId
)
{
if
(
md5Value
==
null
)
{
return
JsonResult
.
buildErrorStateResult
(
"参数错误"
,
null
);
}
...
...
@@ -217,6 +218,13 @@ public class InnerController implements IBaseController {
if
(
user
==
null
)
{
return
JsonResult
.
buildSuccessResult
(
""
,
null
);
}
if
(
tenantId
!=
null
&&
!
TenantUtil
.
TENANT_DEFAULT
.
equals
(
tenantId
))
{
// userId 查询对应productLogin 获取手机号和customerId
user
=
tenantService
.
getTenantUser
(
user
,
tenantId
);
if
(
user
==
null
)
{
return
JsonResult
.
buildErrorStateResult
(
""
,
null
);
}
}
UserRet
userRet
=
new
UserRet
(
user
);
return
JsonResult
.
buildSuccessResult
(
""
,
userRet
);
}
...
...
xyqb-user2.2021-11-17-0.log
0 → 100644
View file @
88fa6bec
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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