暂存
This commit is contained in:
@@ -40,7 +40,7 @@ async function list(req, res) {
|
||||
)
|
||||
|
||||
const [rows] = await pool.query(
|
||||
`SELECT * FROM products ${where} ORDER BY id DESC LIMIT ? OFFSET ?`,
|
||||
`SELECT * FROM products ${where} ORDER BY id ASC LIMIT ? OFFSET ?`,
|
||||
[...params, pageSize, offset]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user