Author Topic: how can i get pq_curpage?  (Read 1802 times)

fings

  • Newbie
  • *
  • Posts: 12
    • View Profile
how can i get pq_curpage?
« on: December 30, 2020, 06:50:24 am »
excuse me,

I use pageModel of remote

my API must POST argument “currentPage” for pager,how can i set the “currentPage”  = pq_curpage ?

thank you~
« Last Edit: December 30, 2020, 06:54:14 am by fings »

fings

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: how can i get pq_curpage?
« Reply #1 on: December 30, 2020, 12:47:21 pm »
hey~~~~,I got it :

getUrl: function (res) {
    currentPage = res.pageModel.curPage;
    return {
        url: "/api/userinfo",
        data: {
            cp: currentPage
        }
    }
}