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