zhangqin 1 день назад
Родитель
Сommit
fa1d0c58f0

+ 1 - 1
fs-service/src/main/java/com/fs/newAdv/service/impl/LeadServiceImpl.java

@@ -120,11 +120,11 @@ public class LeadServiceImpl extends ServiceImpl<LeadMapper, Lead> implements IL
     @Async
     public void weChatAuthorizationLead(String traceId, String unionId, String maOpenId, String phone) {
        try{
+           log.info("用户微信授权线索信息:{}", traceId);
            Lead byTraceId = this.getByTraceId(traceId);
            if (byTraceId == null) {
                return;
            }
-           log.info("用户微信授权线索信息:{}", traceId);
            this.update(new LambdaUpdateWrapper<Lead>()
                    .eq(Lead::getTraceId, traceId)
                    .set(ObjectUtil.isNotEmpty(unionId),Lead::getUnionid, unionId)