Przeglądaj źródła

访客 注释掉公众号信息查询判断

wuchangfu 1 rok temu
rodzic
commit
ef08f43eed

+ 8 - 8
src/main/java/com/palmnest/webapp/controller/wechat/VisitorUserInfoController.java

@@ -346,10 +346,10 @@ public class VisitorUserInfoController extends BaseFormController {
 			}
 		}
 
-		WxPublicno wxPublicno = publicNoManager.getByDevelopId(wxUser.getDevelopId());
-		if (wxPublicno == null) {
-			return null;
-		}
+//		WxPublicno wxPublicno = publicNoManager.getByDevelopId(wxUser.getDevelopId());
+//		if (wxPublicno == null) {
+//			return null;
+//		}
 		model.addAttribute("openId", openId);
 		model.addAttribute("orgId", wxUser.getOrganizationId());
 		model.addAttribute("developId", wxUser.getDevelopId());
@@ -403,10 +403,10 @@ public class VisitorUserInfoController extends BaseFormController {
 			}
 		}
 
-		WxPublicno wxPublicno = publicNoManager.getByDevelopId(wxUser.getDevelopId());
-		if (wxPublicno == null) {
-			return null;
-		}
+//		WxPublicno wxPublicno = publicNoManager.getByDevelopId(wxUser.getDevelopId());
+//		if (wxPublicno == null) {
+//			return null;
+//		}
 		model.put("openId", openId);
 		model.put("orgId", wxUser.getOrganizationId());
 		model.put("developId", wxUser.getDevelopId());