添加了名称
This commit is contained in:
parent
d0868e6043
commit
3fc2d12c10
@ -73,8 +73,14 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user