多语言-ApiException整合
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
*/
|
||||
package com.xuanyin.flowteam.service;
|
||||
|
||||
import com.accompany.core.exception.AdminServiceException;
|
||||
import com.accompany.common.utils.StringUtils;
|
||||
import com.accompany.core.exception.ServiceException;
|
||||
import com.xuanyin.flowteam.constant.FlowTeamConstant;
|
||||
import com.xuanyin.flowteam.model.FlowTeamInfo;
|
||||
import com.xuanyin.flowteam.model.FlowTeamMember;
|
||||
@@ -62,7 +62,7 @@ public class FlowTeamMemberInviteUserBizService {
|
||||
if (FlowTeamConstant.UserSourceType.SELF == source){
|
||||
return;
|
||||
}
|
||||
throw new AdminServiceException("請輸入正確的邀請碼");
|
||||
throw new ServiceException("請輸入正確的邀請碼");
|
||||
}
|
||||
Long memberId = flowTeamMemberInviteCode.getMemberId();
|
||||
FlowTeamMember flowTeamMember = flowTeamMemberService.getById(memberId);
|
||||
|
Reference in New Issue
Block a user