MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / Envs

Function Envs

wxapp/zhanma.js:918–937  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

916//#region 固定代码 可以不管他
917// ============================================变量检查============================================ \\
918async function Envs () {
919 if (zmnlxq) {
920 if (zmnlxq.indexOf("@") != -1) {
921 zmnlxq.split("@").forEach((item) => {
922 zmnlxqArr.push(item);
923 });
924 } else if (zmnlxq.indexOf("&") != -1) {
925 zmnlxq.split("&").forEach((item) => {
926 zmnlxqArr.push(item);
927 });
928 } else {
929 zmnlxqArr.push(zmnlxq);
930 }
931 } else {
932 console.log(`\n 【${$.name}】:未填写变量 zmnlxq`)
933 return;
934 }
935
936 return true;
937}
938
939// ============================================发送消息============================================ \\
940async function SendMsg (message) {

Callers 1

zhanma.jsFile · 0.85

Calls 2

forEachMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected