...
|
...
|
@@ -23,10 +23,10 @@ class UserController extends Context { |
|
|
let sess = allResult[1];
|
|
|
let overdueInfo = '';
|
|
|
|
|
|
if (user.passwd_time > 0) {
|
|
|
overdueInfo = `您的密码即将在${user.passwd_time}天后过期`;
|
|
|
} else if (user.passwd_time) {
|
|
|
overdueInfo = user.passwd_time === 0 ? '您的密码已于今天过期' : `您的密码已过期${user.passwd_time}天`;
|
|
|
if (user.pwdExpirationDays > 0) {
|
|
|
overdueInfo = `您的密码即将在${user.pwdExpirationDays}天后过期`;
|
|
|
} else if (user.pwdExpirationDays !== null) {
|
|
|
overdueInfo = user.pwdExpirationDays === 0 ? '您的密码已于今天过期' : `您的密码已过期${user.pwdExpirationDays}天`;
|
|
|
}
|
|
|
|
|
|
this.userService.getShops(user.pid).then(result => {
|
...
|
...
|
|