Commit 88e5bd71 by wuwenlong

user login code opt;

parent a97f0c1e
...@@ -87,10 +87,8 @@ public class SConsumerCenterServiceImpl extends ServiceImpl<SConsumerMapper, SCo ...@@ -87,10 +87,8 @@ public class SConsumerCenterServiceImpl extends ServiceImpl<SConsumerMapper, SCo
} }
// 记录最后一次登录时间 // 记录最后一次登录时间
sConsumer.setLastLoginTime(DateUtil.nowDateTime()); sConsumer.setLastLoginTime(DateUtil.nowDateTime());
Boolean execute = Boolean.FALSE;
try { try {
sConsumerService.updateById(sConsumer); sConsumerService.updateById(sConsumer);
execute = Boolean.TRUE;
} catch (Exception e) { } catch (Exception e) {
logger.error("小程序登录出错"); logger.error("小程序登录出错");
logger.error(e.toString()); logger.error(e.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment