axios.get(`http://localhost:3000/api/annotationDetail`).then( res => {
console.log('0000000',res);
});
router.get('/api/annotationDetail'),(req,res)=>{
const annotationID=req.param.annotationId;
console.log('11111111111111');
MongoClient.connect(mongoURL, function(err, db) {
if (err) throw err;
const dbo = db.db("path-cloud");
dbo.collection('AnnotationFileGroups').findOne({_id: groupId}, (e, result) => {
if(e) throw e;
else {
res.json({
code: 200,
data: '111',
});
}
})
});
}