/// <summary> /// 通过API获取APP的可见范围, 判断该User是否在其中 /// </summary> /// <param name="appId"></param> /// <returns></returns> private bool ValidateUserInApp(int?appId) { if (null != appId) { SysAddressBookMember user = GetCropUser(); if (null != user && null != user.AccountManageId) { return(WeChatCommonService.IsValidateUser((int)appId, user, (int)user.AccountManageId)); } } return(false); }