mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
update 车牌号 Vin 唯一校验
This commit is contained in:
@@ -267,6 +267,10 @@ public class MemberController extends BaseController {
|
||||
logger.info("用户绑定车牌号 param:{}", JSONObject.toJSONString(dto));
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
// 参数校验
|
||||
if (StringUtils.isBlank(dto.getCarNo())) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
|
||||
}
|
||||
String memberId = getMemberIdByAuthorization(request);
|
||||
dto.setMemberId(memberId);
|
||||
memberService.memberBindingCarNo(dto);
|
||||
|
||||
Reference in New Issue
Block a user