|
@@ -28,6 +28,7 @@ import com.fdkankan.manage.vo.response.UserVo;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.stream.Collectors;
|
|
@@ -57,6 +58,8 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, User> implements I
|
|
|
private LaserService laserService;
|
|
|
@Autowired
|
|
|
private ISysUserService sysUserService;
|
|
|
+ @Value("${fyun.host:https://4dkk.4dage.com/}")
|
|
|
+ private String host;
|
|
|
|
|
|
@Override
|
|
|
public PageInfo pageList(UserParam param) {
|
|
@@ -186,7 +189,7 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, User> implements I
|
|
|
try {
|
|
|
String passwordMd5 = SecurityUtil.MD5(Base64Converter.decode(Base64Converter.subText(param.getPassword())));
|
|
|
User user = new User();
|
|
|
- user.setHead(OssPath.default_head);
|
|
|
+ user.setHead(host + OssPath.default_head);
|
|
|
user.setPassword(passwordMd5);
|
|
|
user.setStatus(1);
|
|
|
user.setIsNotice(1);
|