Commit e4a3ea79 authored by 黄卓然's avatar 黄卓然

注释删除多余代码

parent 2598347c
......@@ -24,15 +24,15 @@ fs.readdir(pathName, function(err, files){
let type = files[j].substring(0,index)
// dirs.push(type);
let array = []
let options = {
host:'admin.tx.haomo-tech.com',
path:'/api/com.haomo.'+type,
method:'POST',
headers:{
'Content-Type':'application/json',
'Accept': 'application/json'
}
}
// let options = {
// host:'admin.tx.haomo-tech.com',
// path:'/api/com.haomo.'+type,
// method:'POST',
// headers:{
// 'Content-Type':'application/json',
// 'Accept': 'application/json'
// }
// }
array = JSON.parse(data);//将字符串转换为json对象
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment