diff --git a/dp2weixin.service/dp2WeiXinService.cs b/dp2weixin.service/dp2WeiXinService.cs index 5dd80494..d2d0ef07 100644 --- a/dp2weixin.service/dp2WeiXinService.cs +++ b/dp2weixin.service/dp2WeiXinService.cs @@ -9916,7 +9916,11 @@ bool containReservationInfo //是否获取借书详情和预约详情 //else { //2022/8/5改进,接口返回的信息自然会脱敏,我爱图书馆这边原样显示返回的值即可 - strBorrowInfo = "借阅者:" + item.borrower + "
" //"借阅者:***
" + string temp = item.borrower; + if (temp.Length > 10 && temp.Substring(0,3)=="***") + temp = temp.Substring(0, 10) + "..."; // 2025/01/06 是***,且超过10位,截取 + + strBorrowInfo = "借阅者:" + temp + "
" //2025/01/06 item.borrower //"借阅者:***
" + "借阅日期:" + item.borrowDate + "
" + "借期:" + item.borrowPeriod + "
" + "还书日期:" + item.returningDate;