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
c5c3d98a
Commit
c5c3d98a
authored
Dec 20, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
d7809f25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
PeasantHouseholdWxController.java
...ule/hygf/biz/controller/PeasantHouseholdWxController.java
+1
-1
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/PeasantHouseholdWxController.java
View file @
c5c3d98a
...
...
@@ -258,7 +258,7 @@ public class PeasantHouseholdWxController extends BaseController {
RequestContext
.
setAppKey
(
"AMOS_STUDIO"
);
RequestContext
.
setProduct
(
"AMOS_STUDIO_WEB"
);
RequestContext
.
setToken
(
requestContext
.
getToken
());
Privilege
.
agencyUserClient
.
multDeleteUser
(
peasantHousehold
.
getAmosUserId
());
Privilege
.
agencyUserClient
.
multDeleteUser
(
peasantHousehold
.
getAmosUserId
()
,
true
);
}
if
(
e
instanceof
BadRequest
||
e
.
getCause
()
instanceof
BadRequest
)
{
throw
new
BadRequest
(
e
.
getMessage
());
...
...
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 @
c5c3d98a
...
...
@@ -509,7 +509,7 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
throw
new
RuntimeException
(
"请扫描经销商开发人员区域二维码进行注册"
);
}
FeignClientResult
<
AgencyUserModel
>
registerUserModelRestult
=
doRegister
(
wxDTO
);
if
(
registerUserModelRestult
==
null
||
registerUserModelRestult
.
getStatus
()
!=
200
)
{
if
(
registerUserModelRestult
==
null
||
registerUserModelRestult
.
getStatus
()
!=
200
||
registerUserModelRestult
.
getResult
()
==
null
)
{
log
.
error
(
"用户手机号码 => "
+
wxDTO
.
getPhoneNo
()
+
" 调用平台创建用户信息失败: "
+
registerUserModelRestult
.
getDevMessage
());
throw
new
RuntimeException
(
registerUserModelRestult
.
getMessage
());
}
...
...
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