(strRemark, PtPin)
| 879 | } |
| 880 | |
| 881 | function 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 | |
| 915 | function getQLinfo(strCK, intcreated, strTimestamp, strRemark) { |
| 916 | var strCheckCK = strCK.match(/pt_key=([^; ]+)(?=;?)/) && strCK.match(/pt_key=([^; ]+)(?=;?)/)[1]; |
no test coverage detected