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

Function getuuid

function/sendNotify.js:881–913  ·  view source on GitHub ↗
(strRemark, PtPin)

Source from the content-addressed store, hash-verified

879}
880
881function getuuid(strRemark, PtPin) {
882 var strTempuuid = "";
883 if (strRemark) {
884 var Tempindex = strRemark.indexOf("@@");
885 if (Tempindex != -1) {
886 console.log(PtPin + ": 检测到NVJDC的一对一格式,瑞思拜~!");
887 var TempRemarkList = strRemark.split("@@");
888 for (let j = 0; j < TempRemarkList.length; j++) {
889 if (TempRemarkList[j]) {
890 if (TempRemarkList[j].length > 4) {
891 if (TempRemarkList[j].substring(0, 4) == "UID_") {
892 strTempuuid = TempRemarkList[j];
893 break;
894 }
895 }
896 }
897 }
898 if (!strTempuuid) {
899 console.log("检索资料失败...");
900 }
901 }
902 }
903 if (!strTempuuid && TempCKUid) {
904 console.log("正在从CK_WxPusherUid文件中检索资料...");
905 for (let j = 0; j < TempCKUid.length; j++) {
906 if (PtPin == decodeURIComponent(TempCKUid[j].pt_pin)) {
907 strTempuuid = TempCKUid[j].Uid;
908 break;
909 }
910 }
911 }
912 return strTempuuid;
913}
914
915function getQLinfo(strCK, intcreated, strTimestamp, strRemark) {
916 var strCheckCK = strCK.match(/pt_key=([^; ]+)(?=;?)/) && strCK.match(/pt_key=([^; ]+)(?=;?)/)[1];

Callers 1

sendNotifybyWxPucherFunction · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected