提交 39d1fab5 编写于 作者: H hjdhnx

基本实现drpy模板能用

上级 e4e67e83
......@@ -6,6 +6,17 @@ import ch from './cheerio.min.js';
// host: 'https://www.zbkk.net',
// });
function readFile(filePath){
filePath = filePath||'./uri.min.js';
var fd = os.open(filePath);
var buffer = new ArrayBuffer(1024);
var len = os.read(fd, buffer, 0, 1024);
console.log(len);
let text = String.fromCharCode.apply(null, new Uint8Array(buffer));
console.log(text);
return text
}
const key = 'drpy_zbk';
let rule = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册