Browse Source

fix 时间为空判断

master
巴林闲侠 3 years ago
parent
commit
f1bf8e9c68
  1. 2
      api/app/lib/utils/member.js

2
api/app/lib/utils/member.js

@ -376,7 +376,7 @@ module.exports = function (app, opts) {
)
.replace(/_/g, '')
}
obj[nextKey] = u[k] == '1970-01-01 00:00:00.000000' ? null : u[k]
obj[nextKey] = u[k] == '1970-01-01 00:00:00.000000' || u[k] == '1970-01-01 08:00:00.000000' ? null : u[k]
}
pepUserIds.push(u.pepUserId)
console.log("查询到的用户信息:", obj);

Loading…
Cancel
Save