parse page
This commit is contained in:
parent
e757a8d197
commit
782c2b9160
1 changed files with 2 additions and 1 deletions
|
|
@ -1975,7 +1975,8 @@ module.exports = async (
|
|||
*/
|
||||
const apiGunFeedGet = async (req, res) => {
|
||||
try {
|
||||
const { page } = req.query;
|
||||
const { pageStr } = req.query;
|
||||
const page = Number(pageStr)
|
||||
|
||||
if (!isFinite(page)) {
|
||||
return res.json(401).json({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue