|
@@ -97,7 +97,7 @@ public class UserThirdServiceImpl extends ServiceImpl<ConferenceUserThirdMapper,
|
|
|
public void create(ConferenceUserThird userThird){
|
|
|
boolean exists = lambdaQuery().eq(ConferenceUserThird::getConferenceId, userThird.getConferenceId()).eq(ConferenceUserThird::getPhone, userThird.getPhone()).exists();
|
|
|
if (exists){
|
|
|
- throw new APIException( "手机号已存在");
|
|
|
+ throw new APIException(400, "手机号已存在");
|
|
|
}
|
|
|
userThird.setCreateTime(LocalDateTime.now());
|
|
|
save(userThird);
|