1、不同模块登录之后,租户ID的处理,2、新增绑定短信接口
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user