pull/1121/head
梁宇奇 2025-07-31 21:23:20 +08:00
parent f977f307c7
commit da6405f247
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ public class AssetServiceImpl implements IAssetService {
public void sendSmsVerificationCode(String phoneNumber) {
boolean success = smsClient.sendVerificationCode(CacheConstants.SMS_ASSET_CAPTCHA_CODE_KEY, phoneNumber,
RandomUtil.randomNumbers(6));
if (success) {
if (!success) {
throw new ServiceException("短信发送失败");
}
}