Browse Source

fix: 手机号码校验逻辑问题

pull/10180/head
jiangweidong 2 years ago committed by Jiangjie.Bai
parent
commit
111296ecd2
  1. 2
      apps/common/validators.py

2
apps/common/validators.py

@ -54,5 +54,5 @@ class PhoneValidator:
except NumberParseException:
valid = False
if valid:
if not valid:
raise serializers.ValidationError(self.message)

Loading…
Cancel
Save