| | |
| | | proxy: { |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | // target: 'http://127.0.0.1:37000', |
| | | target: 'http://127.0.0.1:37000', |
| | | // target: 'http://192.168.1.51:37000', |
| | | target: 'http://dev.vci-tech.com:37000', |
| | | // target: 'http://dev.vci-tech.com:37000', |
| | | // target: 'http://192.168.1.16:37000', |
| | | // target: 'http://192.168.0.105:37000', |
| | | // target: 'http://192.168.0.103:37000', |
| | |
| | | pwdupdateday = dateToDay(pwdUpdateTime); |
| | | } |
| | | Strategy strategy = sysClient.getByUserId(userId).getData(); |
| | | if(Func.isNotEmpty(strategy)){ |
| | | if(Func.isEmpty(strategy)){ |
| | | throw new ServiceException("密码策略查询为空,请检查当前租户下是否存在默认密码策略!"); |
| | | } |
| | | //是否提醒通过最后一次修改密码的时间加上过期时间减去当前时间,如果小于过期提醒时间就进行提醒,如果<=0就提醒必须修改密码 |