|
@@ -153,6 +153,10 @@ module.exports = app => {
|
|
|
// throw '该账号已被停用,请联系销售人员';
|
|
|
return 2;
|
|
|
}
|
|
|
+ if (accountData.invalid_time) {
|
|
|
+ const date = this.ctx.moment(accountData.invalid_time, 'YYYY-MM-DD').toDate();
|
|
|
+ if (date < new Date()) return 2;
|
|
|
+ }
|
|
|
|
|
|
projectList = await this.getProjectInfoByAccount(data.account.trim());
|
|
|
// permission = accountData.permission;
|