Commit b0b840e8 authored by 姜登's avatar 姜登

user

parent 90524a13
Pipeline #9022 passed with stage
in 6 seconds
...@@ -59,7 +59,7 @@ class UserController extends Controller { ...@@ -59,7 +59,7 @@ class UserController extends Controller {
where[key] = ctx.query[key]; where[key] = ctx.query[key];
} else { } else {
where[key] = { where[key] = {
[Op.like]: `${ctx.query[key]}%`, [Op.like]: `%${ctx.query[key]}%`,
}; };
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment