Skip to content

Commit

Permalink
整理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
renyh committed Oct 21, 2020
1 parent 7f11463 commit 250ef31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions dp2weixin.service/dp2WeiXinService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion dp2weixinP2P/Views/Patron/ChangePhone.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
// 2020-3-12 去掉这项
//$("#_recPath").text(result.recPath);
alert("手机号修改成功");
alert("修改成功");
//清空编辑界面信息,todo
Expand Down

0 comments on commit 250ef31

Please sign in to comment.