瀏覽代碼

修改微信用户更新接口

tags/V1.6.0^2
wanghaoran 1 年之前
父節點
當前提交
e83295c3c7
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamSceneryServiceImpl.java

+ 1
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamSceneryServiceImpl.java 查看文件

@@ -121,6 +121,7 @@ public class WestreamSceneryServiceImpl extends BaseServiceImpl<WestreamSceneryM
WestreamUser westreamUser = westreamUserMapper.selectOne(new LambdaQueryWrapper<WestreamUser>()
.eq(WestreamUser::getOpenid, entity.getOpenid())
.eq(WestreamUser::getMark, 1));
entity.setStatus(1);
if(ObjectUtil.isNull(westreamUser)){
//新增
entity.setHeartbeatTime(new Date());

Loading…
取消
儲存