@@ -161,9 +161,9 @@ public class ExamBeforeServiceImpl extends ServiceImpl<ExamBeforeMapper, ExamBef
@Override
public ExamBeforeVo getAddressInfo(ExamBeforeQueryBo examBeforeQueryBo) {
Long verLong = baseMapper.verifyInfo(examBeforeQueryBo.getGoodsId());
- /* if (verLong < 1){
+ if (verLong < 1){
throw new IllegalArgumentException("您不符合考前刷题条件,请先预约考试,或者咨询相关工作人员,了解使用条件。");
- }*/
+ }
ExamBeforeVo examBeforeVo = baseMapper.verifyExamBeforeVo(examBeforeQueryBo);
return examBeforeVo;
}