|
|
@@ -5,6 +5,7 @@ import cn.hutool.core.util.StrUtil;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.cyksj.common.constant.Constant;
|
|
|
import com.cyksj.common.exception.BusinessRuntimeException;
|
|
|
+import com.cyksj.common.util.ValidatorUtil;
|
|
|
import com.cyksj.mapper.SysConfigMapper;
|
|
|
import com.cyksj.mapper.manage.distribute.UserDistributeMapper;
|
|
|
import com.cyksj.mapper.shop.YhShopApplyRecordMapper;
|
|
|
@@ -202,5 +203,8 @@ public class YhShopServiceImpl implements YhShopFrontService {
|
|
|
if (customId.length() < 3 || customId.length() > 10) {
|
|
|
throw BusinessRuntimeException.getInstance("请输入正确的店铺id");
|
|
|
}
|
|
|
+ if (!ValidatorUtil.isEnNum(customId)) {
|
|
|
+ throw BusinessRuntimeException.getInstance("请输入数字字母的组合");
|
|
|
+ }
|
|
|
}
|
|
|
}
|