|
@@ -358,6 +358,7 @@ module.exports = class UserController extends shopController {
|
|
|
const updateBean = await that.app.comoBean.instance({
|
|
|
login_time: that.app.szjcomo.date('Y-m-d H:i:s'),
|
|
|
update_ttime: that.app.szjcomo.date('Y-m-d H:i:s'),
|
|
|
+ unionid: userInfo.unionid,
|
|
|
}, { where: { user_id: user.user_id } });
|
|
|
await that.service.base.update(updateBean, that.useModel, '微信用户登录时间更新失败,请重试');
|
|
|
}
|