Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
b5f5f88f
Commit
b5f5f88f
authored
Aug 25, 2023
by
杨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口改动 - 农户列表增加已认证限制条件
异常处理 - 报错调用平台接口回滚
parent
b2cacc72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+1
-2
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 @
b5f5f88f
...
@@ -277,8 +277,7 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
...
@@ -277,8 +277,7 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
PeasantHouseholdWxDto
wxUserLogin
(
MobileLoginParamDto
wxDTO
)
{
public
PeasantHouseholdWxDto
wxUserLogin
(
MobileLoginParamDto
wxDTO
)
{
// 通过手机号和验证码调用平台接口进行验证
// 通过手机号和验证码调用平台接口进行验证
// String phoneNo = this.parsePhoneNo(wxDTO);
String
phoneNo
=
this
.
parsePhoneNo
(
wxDTO
);
String
phoneNo
=
"13641746112"
;
if
(
phoneNo
==
null
)
{
if
(
phoneNo
==
null
)
{
log
.
error
(
"获取手机号失败!"
);
log
.
error
(
"获取手机号失败!"
);
throw
new
BadRequest
(
"微信授权失败, 请重新授权"
);
throw
new
BadRequest
(
"微信授权失败, 请重新授权"
);
...
...
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