Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
be0d485e
Commit
be0d485e
authored
May 16, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录问题修复
parent
be27e69e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+4
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
View file @
be0d485e
...
...
@@ -301,11 +301,11 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
try
{
phoneNo
=
this
.
parsePhoneNo
(
wxDTO
);
}
catch
(
Exception
e
){
throw
new
BadRequest
(
"解析手机号失败"
);
throw
new
RuntimeException
(
"解析手机号失败"
);
}
if
(
phoneNo
==
null
)
{
log
.
error
(
"获取手机号失败!"
);
throw
new
BadRequest
(
"解析手机号失败"
);
throw
new
RuntimeException
(
"解析手机号失败"
);
}
log
.
info
(
"用户手机号码 => {} 开始登录"
,
phoneNo
);
wxDTO
.
setPhoneNo
(
phoneNo
);
...
...
@@ -390,9 +390,9 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
Privilege
.
agencyUserClient
.
multDeleteUser
(
registerUserModel
.
getUserId
());
}
if
(
e
instanceof
BadRequest
||
e
.
getCause
()
instanceof
BadRequest
)
{
throw
new
BadRequest
(
e
.
getMessage
()
);
throw
new
RuntimeException
(
"解析手机号失败"
);
}
throw
new
BadRequest
(
e
.
getMessage
()
);
throw
new
RuntimeException
(
"解析手机号失败"
);
}
}
...
...
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