Commit bde56ee4 by guojuxing

生成随机数工具类引用

parent edb15597
package com.gic.operation.web.utils;
import com.gic.enterprise.utils.CreateRandomUtils;
import org.apache.commons.lang3.StringUtils;
import com.gic.auth.constant.UserConstants;
import com.gic.commons.util.Md5Util;
import com.gic.enterprise.error.ErrorCode;
import com.gic.enterprise.exception.EnterpriseException;
import com.gic.enterprise.utils.CreatePasswordAutoUtils;
/**
* @author guojx
......@@ -19,7 +19,7 @@ public class UserPasswordUtil {
}
public static String createPasswordAuto() {
return CreatePasswordAutoUtils.getStringRandom(8);
return CreateRandomUtils.getStringRandom(8);
}
private static String encryptPassword(String password) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment