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

注释删除多余代码

parent 2598347c
...@@ -24,15 +24,15 @@ fs.readdir(pathName, function(err, files){ ...@@ -24,15 +24,15 @@ fs.readdir(pathName, function(err, files){
let type = files[j].substring(0,index) let type = files[j].substring(0,index)
// dirs.push(type); // dirs.push(type);
let array = [] let array = []
let options = { // let options = {
host:'admin.tx.haomo-tech.com', // host:'admin.tx.haomo-tech.com',
path:'/api/com.haomo.'+type, // path:'/api/com.haomo.'+type,
method:'POST', // method:'POST',
headers:{ // headers:{
'Content-Type':'application/json', // 'Content-Type':'application/json',
'Accept': 'application/json' // 'Accept': 'application/json'
} // }
} // }
array = JSON.parse(data);//将字符串转换为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