正文规则该怎么写 #3888
Unanswered
huajideshutiao
asked this question in
Q&A
正文规则该怎么写
#3888
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我从某个地方找到一串代码,但是不太懂怎么转换成对应的正文规则,问了gpt说没啥bug了。
jslib是这样引用的{"CryptoJS":"https://链接/crypto-js.min.js"}
this.fqDecode = function(c, s='ac25c67ddd8f38c1b37a2348828e222e', m=0) {
// 解码密文为字节数组
let b = [];
for (let i = 0; i < c.length; i += 2) {
b.push(parseInt(c.substring(i, i + 2), 16));
}
};
let d, c = document.createElement('div');
c.innerHTML = this.fqDecode('{{$.data.content}}', '{{$.data.novel_data}}', 1);
d = $(c).find('article').html();
c = null;
d;
Beta Was this translation helpful? Give feedback.
All reactions