Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
3ddabb7f2e |
@ -40,7 +40,10 @@ app.post('/addService',async(req,res)=>{
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//GET SERVICE LIST
|
||||||
|
app.get('/',async(req,res)=>{
|
||||||
|
res.send("welcome to open close");
|
||||||
|
});
|
||||||
//GET SERVICE LIST
|
//GET SERVICE LIST
|
||||||
app.get('/service',async(req,res)=>{
|
app.get('/service',async(req,res)=>{
|
||||||
await models.service.findAll({where:{status:1}}).then(result=>{
|
await models.service.findAll({where:{status:1}}).then(result=>{
|
||||||
|
Loading…
Reference in New Issue
Block a user