The backstage gave me an address, some of which don't understand.

/ administartor/user/list/ {pageSize} / {pageNum} / {orderField}
this is the last orderField given to me by the backstage URL, he said, pass id DESC
and then I Baidu is the descending order in SQL.
so what should I pass on this

Mar.02,2022

the definition of this route is too problematic. In most cases, PageSize is fixed. PageNum and orderFeild are not fixed, and PageNum still has a default value.
instead of using URI stitching as an interface, you should use queryString to pass parameters to achieve Filter effect.

  • / administartor/user/list/15/1/id%20desc
  • / administartor/user/list/15/1/id+desc
  • / administartor/user/list/15/1/id_desc

all three are possible.


you send him a / administartor/user/list/99999999999/1/id%20DESC;%20Drop%20table%20user;

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bfc9bd-3231b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bfc9bd-3231b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?