|
@@ -125,7 +125,7 @@ public class PersonalController {
|
|
|
}
|
|
|
String openid = (String) model.getData();
|
|
|
CmOperationUser operationUser = loginService.doLogin(openid, userOrganizeID);
|
|
|
- if (operationUser == null) res.error("账户异常");
|
|
|
+ if (operationUser == null) return res.error("账户异常");
|
|
|
if (address == null) return res.error("参数异常");
|
|
|
try {
|
|
|
personalService.saveAddress(address);
|
|
@@ -149,7 +149,7 @@ public class PersonalController {
|
|
|
}
|
|
|
String openid = (String) model.getData();
|
|
|
CmOperationUser operationUser = loginService.doLogin(openid, userOrganizeID);
|
|
|
- if (operationUser == null) res.error("账户异常");
|
|
|
+ if (operationUser == null) return res.error("账户异常");
|
|
|
try {
|
|
|
personalService.deleteAddress(addressID);
|
|
|
} catch (Exception e) {
|