chenbiao 2 anni fa
parent
commit
3c6071d7fa

+ 4 - 2
netflix-web/src/main/java/com/cyksj/web/controller/manage/corp/WxCorpController.java

@@ -324,9 +324,11 @@ public class WxCorpController {
 			if (user != null && StrUtil.isNotBlank(user.getUnionid())) {
 				builder.field(CorpCustomerAcquistionCallback::getUnionId, user.getUnionid());
 			}
+
+			CorpCustomerAcquistionCallback corpCustomerAcquistionCallback = beanSearcher.searchFirst(CorpCustomerAcquistionCallback.class, builder.build());
+			return GatewayResponse.SUCCESS.newBuilder().toResult(corpCustomerAcquistionCallback);
 		}
-		CorpCustomerAcquistionCallback corpCustomerAcquistionCallback = beanSearcher.searchFirst(CorpCustomerAcquistionCallback.class, builder.build());
-		return GatewayResponse.SUCCESS.newBuilder().toResult(corpCustomerAcquistionCallback);
+		return GatewayResponse.SUCCESS.newBuilder().toResult();
 	}
 
 	/**