222
This commit is contained in:
@@ -286,7 +286,6 @@ _.router.post('/activity', async function (req, res, next) {
|
||||
*/
|
||||
_.router.post('/search', async function (req, res, next) {
|
||||
var keyword = req.body.keyword;
|
||||
console.log("keyword: ", keyword)
|
||||
|
||||
var data = await _.db.query({
|
||||
sql: `SELECT * from wares where wares_title LIKE "%${keyword}%"`,
|
||||
|
||||
Reference in New Issue
Block a user