code
This commit is contained in:
@ -59,10 +59,10 @@ public class GroupBuyCouponServiceImpl implements GroupBuyCouponService {
|
|||||||
public SimpleUserInfoDTO getGroupBuyOrderInfoDto(String mobile) {
|
public SimpleUserInfoDTO getGroupBuyOrderInfoDto(String mobile) {
|
||||||
SimpleUserInfoDTO userInfoDTO = userInteg.getUInfoByMobile(mobile);
|
SimpleUserInfoDTO userInfoDTO = userInteg.getUInfoByMobile(mobile);
|
||||||
if(userInfoDTO==null){
|
if(userInfoDTO==null){
|
||||||
throw new BizException("用户不存在");
|
throw new BizException("99001","用户不存在");
|
||||||
}
|
}
|
||||||
if(userInfoDTO.getAuthed()==0){
|
if(userInfoDTO.getAuthed()==0){
|
||||||
throw new BizException("用户未实名认证");
|
throw new BizException("99002","用户未实名认证");
|
||||||
}
|
}
|
||||||
return userInfoDTO;
|
return userInfoDTO;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user