添加了名称
This commit is contained in:
parent
d0868e6043
commit
3fc2d12c10
@ -73,9 +73,15 @@ let addshop = async (ctx,next)=>{
|
||||
}
|
||||
|
||||
let findshop = async (ctx, next) => {
|
||||
ctx.body = await dbs.find("shop")
|
||||
let q = {}
|
||||
if(ctx.query.name){
|
||||
q.mingcheng = ctx.query.name
|
||||
}
|
||||
ctx.body = await dbs.find("shop",q)
|
||||
}
|
||||
|
||||
|
||||
|
||||
let logins = async(ctx,next)=>{
|
||||
let {user , pwd} = ctx.request.body
|
||||
console.log(123)
|
||||
|
Loading…
Reference in New Issue
Block a user