明树Git Lab

Commit 4eaddc02 authored by zfp1's avatar zfp1

update

parent facc04a9
Pipeline #103967 passed with stage
in 3 seconds
...@@ -243,7 +243,7 @@ async function listUser(req, res, next) { ...@@ -243,7 +243,7 @@ async function listUser(req, res, next) {
search.where.name ={ [Op.like]: `%${req.body.name}%` } search.where.name ={ [Op.like]: `%${req.body.name}%` }
} }
if (req.body.mobile) { if (req.body.mobile) {
search.where.mobile = { [Op.like]: `%${req.body.name}%` } search.where.mobile = { [Op.like]: `%${req.body.mobile}%` }
} }
search.limit = limit; search.limit = limit;
search.offset = offset; search.offset = offset;
......
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