|
@@ -4,7 +4,6 @@ import cn.hutool.core.lang.Assert;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.cyksj.common.exception.BusinessRuntimeException;
|
|
import com.cyksj.common.exception.BusinessRuntimeException;
|
|
|
-import com.cyksj.common.util.ValidatorUtil;
|
|
|
|
|
import com.cyksj.mapper.*;
|
|
import com.cyksj.mapper.*;
|
|
|
import com.cyksj.model.entity.*;
|
|
import com.cyksj.model.entity.*;
|
|
|
import com.cyksj.service.suggest.UserSuggestService;
|
|
import com.cyksj.service.suggest.UserSuggestService;
|
|
@@ -50,7 +49,7 @@ public class UserSuggestServiceImpl implements UserSuggestService {
|
|
|
throw BusinessRuntimeException.getInstance("问题内容描述过多");
|
|
throw BusinessRuntimeException.getInstance("问题内容描述过多");
|
|
|
}
|
|
}
|
|
|
String phone = progressRecord.getPhone();
|
|
String phone = progressRecord.getPhone();
|
|
|
- if (StrUtil.isEmpty(phone) || !ValidatorUtil.isMobile(phone)) {
|
|
|
|
|
|
|
+ if (StrUtil.isEmpty(phone)) {
|
|
|
throw BusinessRuntimeException.getInstance("请输入正确的手机号");
|
|
throw BusinessRuntimeException.getInstance("请输入正确的手机号");
|
|
|
}
|
|
}
|
|
|
String goodsTitle = null;
|
|
String goodsTitle = null;
|