From 92b495b9f672f3a456f9da918f01698f80d57c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?old=E6=98=93?= <156663459@qq.com> Date: Mon, 18 Mar 2024 10:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=B8=8D=E6=98=AFvip=E6=89=8D=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- New_College.Services/V_CustomerInfoServices.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/New_College.Services/V_CustomerInfoServices.cs b/New_College.Services/V_CustomerInfoServices.cs index 91e5dbe..f44f2b8 100644 --- a/New_College.Services/V_CustomerInfoServices.cs +++ b/New_College.Services/V_CustomerInfoServices.cs @@ -321,7 +321,7 @@ namespace New_College.Services return new MessageModel() { success = false, msg = "获取失败,用户信息为空" }; var years = info.Year > 2023 ? 2023 : info.Year; var batchlist = await t_BatchlineRepository.Query(c => c.Year == years && c.AreaName == info.AreaName && c.Type_name == "综合"); - if (!string.IsNullOrWhiteSpace(info.Phone)) + if (!string.IsNullOrWhiteSpace(info.Phone) && !info.IsVIP) { Task.Run(async () => { @@ -515,7 +515,10 @@ namespace New_College.Services var userinfo = (await _dal.Query(w => w.OpenId == query.openId && w.IsDelete == false)).ToList().FirstOrDefault(); if (userinfo != null) { - await SyncXET(userinfo); + if (!userinfo.IsVIP) + { + await SyncXET(userinfo); + } return new Tuple(true, new CustomerInfoResult() { AreaId = userinfo.AreaId,