Skip to content

Commit

Permalink
整理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
renyh committed Oct 20, 2020
1 parent 26239a8 commit 7f11463
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dp2weixin.service/dp2WeiXinService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1394,9 +1394,9 @@ private int SendTemplateMsgInternal(List<WxUserItem> userList,
{
string msgType = templateName;
if (u.type == WxUserDatabase.C_Type_Patron)
this.WriteDebug("即将给weixin=[" + u.weixinId + "],图书馆为[" + u.libName + "]的读者[" + u.readerName + "(" + u.readerBarcode + ")]" + "发送[" + msgType + "]通知");
this.WriteDebug("即将给读者发通知:weixin=[" + u.weixinId + "],图书馆为[" + u.libName + "]的读者[" + u.readerName + "(" + u.readerBarcode + ")]" + "发送[" + msgType + "]通知");
else
this.WriteDebug("即将给weixin=[" + u.weixinId + "],图书馆为[" + u.libName + "]的工作人员[" + u.userName + "]" + "发送[" + msgType + "]通知");
this.WriteDebug("即将给工作人员发通知:weixin=[" + u.weixinId + "],图书馆为[" + u.libName + "]的工作人员[" + u.userName + "]" + "发送[" + msgType + "]通知");

// 写到本地库的就不写日志了,节省一点日志空间
if (WxUserDatabase.CheckIsFromWeb(u.weixinId) == false)
Expand Down
8 changes: 4 additions & 4 deletions dp2weixinP2P/Views/Biblio/Detail.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,9 @@ else
</div>
</li>

if (string.IsNullOrEmpty(ViewBag.Worker) == false)
{
<div class="mui-input-group" style="padding:10px">



<table style="width:100%">
<tr>
<td style="width:100%;">
Expand Down Expand Up @@ -454,5 +453,6 @@ else
<button id='btn' class="mui-btn mui-btn-block mui-btn-primary" onclick="saveItem()">保存</button>
</div>
</div>
}
}
}

0 comments on commit 7f11463

Please sign in to comment.