Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
cd27350a
Commit
cd27350a
authored
Oct 25, 2018
by
Junling Bu
Browse files
fix[litemall-wx-api]: 校验地址不正确导致添加收货地址失败
parent
dabc4ede
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAddressController.java
View file @
cd27350a
...
...
@@ -144,7 +144,7 @@ public class WxAddressController {
if
(
pid
==
null
){
return
ResponseUtil
.
badArgument
();
}
if
(
address
Service
.
findById
(
pid
)
==
null
){
if
(
region
Service
.
findById
(
pid
)
==
null
){
return
ResponseUtil
.
badArgumentValue
();
}
...
...
@@ -152,7 +152,7 @@ public class WxAddressController {
if
(
cid
==
null
){
return
ResponseUtil
.
badArgument
();
}
if
(
address
Service
.
findById
(
cid
)
==
null
){
if
(
region
Service
.
findById
(
cid
)
==
null
){
return
ResponseUtil
.
badArgumentValue
();
}
...
...
@@ -160,7 +160,7 @@ public class WxAddressController {
if
(
aid
==
null
){
return
ResponseUtil
.
badArgument
();
}
if
(
address
Service
.
findById
(
aid
)
==
null
){
if
(
region
Service
.
findById
(
aid
)
==
null
){
return
ResponseUtil
.
badArgumentValue
();
}
...
...
Write
Preview
Supports
Markdown
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