From 250ef31ad50c98ebf45c1e04bae786d1cf86eca1 Mon Sep 17 00:00:00 2001 From: ryh Date: Thu, 22 Oct 2020 05:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dp2weixin.service/dp2WeiXinService.cs | 11 +++++++---- dp2weixinP2P/Views/Patron/ChangePhone.cshtml | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dp2weixin.service/dp2WeiXinService.cs b/dp2weixin.service/dp2WeiXinService.cs index a057dd7c..2fc57072 100644 --- a/dp2weixin.service/dp2WeiXinService.cs +++ b/dp2weixin.service/dp2WeiXinService.cs @@ -4221,10 +4221,13 @@ private string GetFullComment(string comment, bool bWorker) { string thisComment = ""; string dateTime = DateTimeUtil.DateTimeToString(DateTime.Now); - if (bWorker == true) - thisComment = dateTime + " 馆员备注:" + comment; - else - thisComment = dateTime + " 读者备注:" + comment; + if (string.IsNullOrEmpty(comment) == false) + { + if (bWorker == true) + thisComment = dateTime + " 馆员备注:" + comment; + else + thisComment = dateTime + " 读者备注:" + comment; + } return thisComment; } diff --git a/dp2weixinP2P/Views/Patron/ChangePhone.cshtml b/dp2weixinP2P/Views/Patron/ChangePhone.cshtml index 3786b3db..7f8d566a 100644 --- a/dp2weixinP2P/Views/Patron/ChangePhone.cshtml +++ b/dp2weixinP2P/Views/Patron/ChangePhone.cshtml @@ -143,7 +143,7 @@ // 2020-3-12 去掉这项 //$("#_recPath").text(result.recPath); - alert("手机号修改成功。"); + alert("修改成功。"); //清空编辑界面信息,todo