MCPcopy Create free account
hub / github.com/6dylan6/jdm / getRemark

Function getRemark

function/sendNotify.js:954–969  ·  view source on GitHub ↗
(strRemark)

Source from the content-addressed store, hash-verified

952}
953
954function getRemark(strRemark) {
955 if (strRemark) {
956 var Tempindex = strRemark.indexOf("@@");
957 if (Tempindex != -1) {
958 var TempRemarkList = strRemark.split("@@");
959 return TempRemarkList[0].trim();
960 } else {
961 //这是为了处理ninjia的remark格式
962 strRemark = strRemark.replace("remark=", "");
963 strRemark = strRemark.replace(";", "");
964 return strRemark.trim();
965 }
966 } else {
967 return "";
968 }
969}
970
971async function sendNotifybyWxPucher(text, desp, PtPin, author = '\n================================\n好物推荐:<a href="https://u.jd.com/WLEVYTM">https://u.jd.com/WLEVYTM</a>', strsummary = "") {
972

Callers 2

sendNotifyFunction · 0.70
sendNotifybyWxPucherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected