mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
chore:
This commit is contained in:
@@ -56,7 +56,7 @@ export class CodeService {
|
||||
/**
|
||||
*/
|
||||
async sendSmsCode(phoneCode = '86', mobile: string, randomStr: string) {
|
||||
if (mobile != null) {
|
||||
if (!mobile) {
|
||||
throw new Error('手机号不能为空');
|
||||
}
|
||||
if (!randomStr) {
|
||||
|
||||
Reference in New Issue
Block a user