Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -42,7 +42,7 @@ public class YtNoAuthController{ |
42 | 42 | @PostMapping("/send_login_code/{phoneNumber}") |
43 | 43 | public boolean sendVerificationCode(@PathVariable("phoneNumber") String phoneNumber) { |
44 | 44 | Assert.isTrue( |
45 | - CHINA_MOBILE_PATTERN.matcher(phoneNumber).matches(), "please input correct phone number"); | |
45 | + CHINA_MOBILE_PATTERN.matcher(phoneNumber).matches(), "请输入有效电话号码"); | |
46 | 46 | return smsService.sendSmsCode(phoneNumber, MsgTemplatePurposeEnum.FOR_LOGIN); |
47 | 47 | } |
48 | 48 | ... | ... |