getimg
This commit is contained in:
parent
c2d1399ab0
commit
96cc06bdf7
@ -1,4 +1,7 @@
|
||||
// 获取标签
|
||||
var getimg = async(ctx,next)=>{
|
||||
console.log(ctx.query.data)
|
||||
}
|
||||
var getlist = async (ctx, next) => {
|
||||
await dbs.find('list').then((res) => {
|
||||
ctx.body = JSON.stringify(res)
|
||||
@ -58,6 +61,7 @@ module.exports = {
|
||||
'GET /getlist':getlist,
|
||||
'POST /addlist':addlist,
|
||||
'GET /getaddlist':getaddlist,
|
||||
'GET /dellist' : dellist
|
||||
'GET /dellist' : dellist,
|
||||
'GET /getdata' :getimg
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user