/// <summary> /// 获取用户信息是否为空 /// </summary> /// <param name="UnionId"></param> /// <returns></returns> public bool GetUserInfoIsNull(string UnionId) { // 根据用户UnionId获取用户信息 CustomerEntity userInfo = Dal.GetCustomerEntityByUnionId(UnionId); if (userInfo != null) { return(false); } else { return(true); } }