| | |
| | | import com.matrix.core.pojo.PaginationVO; |
| | | import com.matrix.core.tools.DateUtil; |
| | | import com.matrix.core.tools.LogUtil; |
| | | import com.matrix.core.tools.PropertiesUtil; |
| | | import com.matrix.core.tools.WebUtil; |
| | | import com.matrix.core.tools.excl.ExcelSheetPO; |
| | | import com.matrix.core.tools.excl.ExcelUtil; |
| | |
| | | import com.matrix.system.hive.action.util.QueryUtil; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.ModelMap; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | |
| | | @Controller |
| | | @RequestMapping(value = "admin") |
| | | public class AdminAction extends BaseAction { |
| | | |
| | | |
| | | @Value("${default_password}") |
| | | String defaultPassword; |
| | | |
| | | @Autowired |
| | | private SysUsersService sysUsersService; |
| | |
| | | |
| | | LogUtil.info("#{}进行重置{}的密码操作#", loginUser.getSuAccount(), user.getSuAccount()); |
| | | |
| | | user.setSuPassword(PropertiesUtil.getString(AppConstance.DEFAULT_PASSWORD)); |
| | | user.setSuPassword(defaultPassword); |
| | | try { |
| | | // 设置加密后的密码 |
| | | user.setSuPassword(PasswordUtil.getEncrypUserPwd(user)); |