1、不同模块登录之后,租户ID的处理,2、新增绑定短信接口

This commit is contained in:
starrySky
2024-04-10 17:02:54 +08:00
parent e8b6c8e0aa
commit e4032a0183
33 changed files with 604 additions and 279 deletions

View File

@@ -0,0 +1,16 @@
package com.starry.common.utils;
/**
* @author 杭州世平信息科技有限公司-xuhq
* @since 2024/4/9 13:53
**/
public class VerificationCodeUtils {
public static String getVerificationCode(int codeLength) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < codeLength; i++) {
sb.append((int) (Math.random() * 10));
}
return sb.toString();
}
}